Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 209.9 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.312/3.312, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 64.66 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4122, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002259/0.4145, allocations: 0.7977 MB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000118/0.4146, allocations: 47.78 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.4147, allocations: 4 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.4147, allocations: 7.875 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.4148, allocations: 3.938 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.614e-05/0.4148, allocations: 19.98 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.4149, allocations: 67.77 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.4152, allocations: 28.06 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.4152, allocations: 27.86 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.4153, allocations: 27.86 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.4153, allocations: 8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.4153, allocations: 8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.4153, allocations: 19.83 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.4154, allocations: 23.88 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.4155, allocations: 83.45 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4155, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4155, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4156, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005046/0.4161, allocations: 302 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.4161, allocations: 8.031 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.4161, allocations: 12.89 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.4164, allocations: 142.3 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.4164, allocations: 4.375 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.4164, allocations: 8.375 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.4166, allocations: 97.25 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4166, allocations: 192 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.4166, allocations: 7.938 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4166, allocations: 4 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.56e-05/0.4167, allocations: 35.92 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.4172, allocations: 356.3 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.464e-05/0.4172, allocations: 45.34 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.4173, allocations: 17.78 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.4173, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4173, allocations: 34.56 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4173, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001772/0.4175, allocations: 57.52 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.4176, allocations: 77.11 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.4178, allocations: 131.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.4178, allocations: 29.95 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.4179, allocations: 107.9 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.4179, allocations: 7.953 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.4179, allocations: 17.72 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4181, allocations: 314.8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.4181, allocations: 11.94 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.4182, allocations: 21.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.4182, allocations: 25.72 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.4182, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.513e-05/0.4183, allocations: 69.52 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.4183, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4183, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4183, allocations: 7.938 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.778e-05/0.4184, allocations: 4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4184, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.4184, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.4184, allocations: 4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.033e-05/0.4185, allocations: 121.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.4186, allocations: 4.016 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.4186, allocations: 15.41 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4186, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.4186, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4186, allocations: 7.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.4191, allocations: 406.5 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4191, allocations: 7.938 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.4191, allocations: 3.938 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4191, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4191, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4191, allocations: 4.062 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4191, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.4193, allocations: 77.94 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.4193, allocations: 11.89 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.4194, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.72e-05/0.4194, allocations: 3.938 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.4194, allocations: 7.984 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.4194, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.109e-05/0.4195, allocations: 105.5 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4195, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000186/0.4196, allocations: 8 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.4198, allocations: 103.3 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.224e-05/0.4199, allocations: 12 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4199, allocations: 4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.4199, allocations: 15.92 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.42, allocations: 5.656 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.4204, allocations: 154.8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.554e-05/0.4204, allocations: 95.3 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.4205, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.4205, allocations: 7.438 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/0.4205, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of Templates: time 0.002752/0.4232, allocations: 400.5 kB / 1.332 GB, free: 11.94 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.223860821992275]