Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008161/0.0008161, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008541/0.0008541, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.911/0.911, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.645/1.645, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.946e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001455/0.001484, allocations: 0.7907 MB / 0.9525 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001103/0.001594, allocations: 43.78 kB / 0.9525 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.001646, allocations: 7.938 kB / 0.9526 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.001683, allocations: 11.86 kB / 0.9526 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.292e-05/0.001756, allocations: 7.938 kB / 0.9526 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-05/0.001795, allocations: 19.92 kB / 0.9526 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.001897, allocations: 59.84 kB / 0.9526 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.002028, allocations: 31.95 kB / 0.9527 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.059e-05/0.002099, allocations: 39.84 kB / 0.9527 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.002157, allocations: 19.91 kB / 0.9527 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.002185, allocations: 8 kB / 0.9527 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-06/0.002192, allocations: 4 kB / 0.9527 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.002213, allocations: 23.92 kB / 0.9528 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.002241, allocations: 15.92 kB / 0.9528 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.002357, allocations: 79.62 kB / 0.9529 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00236, allocations: 0 / 0.9529 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.01e-07/0.00236, allocations: 0 / 0.9529 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.002365, allocations: 0 / 0.9529 GB, free: 1.824 MB / 0.9011 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.0003828/0.002748, allocations: 302 kB / 0.9531 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.002789, allocations: 8.031 kB / 0.9532 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.002823, allocations: 16.84 kB / 0.9532 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.002992, allocations: 137.6 kB / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.003004, allocations: 12.31 kB / 0.9533 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.003015, allocations: 8.375 kB / 0.9533 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.003141, allocations: 87.95 kB / 0.9534 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.00315, allocations: 4.125 kB / 0.9534 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.003162, allocations: 4.375 kB / 0.9534 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.003168, allocations: 4.375 kB / 0.9534 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.003233, allocations: 43.86 kB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.003622, allocations: 348.5 kB / 0.9538 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.553e-05/0.003677, allocations: 41.25 kB / 0.9538 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.003707, allocations: 17.78 kB / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.003714, allocations: 0 / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.003739, allocations: 42.55 kB / 0.9539 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.00374, allocations: 0 / 0.9539 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001512/0.003891, allocations: 45.64 kB / 0.9539 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.003931, allocations: 77.11 kB / 0.954 GB, free: 500 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.004029, allocations: 136.6 kB / 0.9541 GB, free: 356 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.004038, allocations: 25.7 kB / 0.9542 GB, free: 324 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.004097, allocations: 116.2 kB / 0.9543 GB, free: 204 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-06/0.004103, allocations: 7.953 kB / 0.9543 GB, free: 196 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.004131, allocations: 21.67 kB / 0.9543 GB, free: 168 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.004222, allocations: 314.8 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.004239, allocations: 8 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.004258, allocations: 21.59 kB / 0.9546 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.004295, allocations: 29.72 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004297, allocations: 0 / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.455e-05/0.004361, allocations: 53.62 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.004375, allocations: 8.062 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.004379, allocations: 0 / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.004394, allocations: 4 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.004454, allocations: 4 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.00446, allocations: 3.938 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.004477, allocations: 8.078 kB / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.004481, allocations: 4 kB / 0.9547 GB, free: 15.69 MB / 0.9167 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 6.011e-05/0.004541, allocations: 109.8 kB / 0.9548 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.004563, allocations: 11.94 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.004582, allocations: 7.469 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.004585, allocations: 4 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.004589, allocations: 0 / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.004593, allocations: 7.938 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.004855, allocations: 414.4 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.004858, allocations: 4 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.004872, allocations: 4 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.004876, allocations: 4 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.004883, allocations: 3.938 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.004884, allocations: 3.938 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.004887, allocations: 3.984 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.473e-05/0.004942, allocations: 74.02 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.004962, allocations: 11.95 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.004974, allocations: 7.922 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-06/0.004982, allocations: 0 / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.004995, allocations: 4 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.004998, allocations: 0 / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.00504, allocations: 95.27 kB / 0.9555 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005041, allocations: 0 / 0.9555 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001296/0.00517, allocations: 12 kB / 0.9555 GB, free: 14.84 MB / 0.9167 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 9.097e-05/0.005261, allocations: 103.2 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.889e-05/0.00534, allocations: 15.98 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.005341, allocations: 4 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.253e-06/0.005349, allocations: 7.938 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.005468, allocations: 6.5 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.005744, allocations: 188.2 kB / 0.9558 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.299e-05/0.005797, allocations: 83.56 kB / 0.9559 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.005821, allocations: 12.5 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of SimCode: time 6.31e-07/0.005821, allocations: 3.938 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of Templates: time 0.00168/0.007502, allocations: 0.798 MB / 0.9567 GB, free: 13.56 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.25584221445024]