Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.0008262/0.0008262, allocations: 76.5 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.0007985/0.0007985, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.92/0.92, 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.677/1.677, allocations: 359 MB / 0.6044 GB, free: 11.11 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 4 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.92e-05, allocations: 6.281 kB / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.00144/0.001469, allocations: 0.7751 MB / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001016/0.001571, allocations: 43.78 kB / 0.9525 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.001621, allocations: 4 kB / 0.9525 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.001659, allocations: 15.86 kB / 0.9526 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.001737, allocations: 7.875 kB / 0.9526 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.745e-05/0.001775, allocations: 19.92 kB / 0.9526 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.001871, allocations: 63.84 kB / 0.9526 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.001989, allocations: 31.89 kB / 0.9527 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.377e-05/0.002053, allocations: 31.92 kB / 0.9527 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.002106, allocations: 27.83 kB / 0.9527 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.002131, allocations: 8 kB / 0.9527 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.002137, allocations: 7.938 kB / 0.9527 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.002153, allocations: 12 kB / 0.9528 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.00218, allocations: 23.91 kB / 0.9528 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.637e-05/0.002276, allocations: 75.69 kB / 0.9529 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.002279, allocations: 4 kB / 0.9529 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00228, allocations: 0 / 0.9529 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.002285, allocations: 0 / 0.9529 GB, free: 1.836 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.0003413/0.002626, allocations: 302 kB / 0.9531 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.002668, allocations: 12.03 kB / 0.9532 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.002698, allocations: 12.84 kB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.002851, allocations: 137.5 kB / 0.9533 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.00286, allocations: 384 / 0.9533 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.002872, allocations: 12.38 kB / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.002994, allocations: 99.92 kB / 0.9534 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.003003, allocations: 192 / 0.9534 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.003014, allocations: 4.375 kB / 0.9534 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.003019, allocations: 384 / 0.9534 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.003078, allocations: 47.86 kB / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.003467, allocations: 352.4 kB / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/0.003515, allocations: 41.28 kB / 0.9538 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/0.003542, allocations: 17.84 kB / 0.9539 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.003548, allocations: 4 kB / 0.9539 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.003567, allocations: 34.56 kB / 0.9539 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.003568, allocations: 0 / 0.9539 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.003708, allocations: 49.62 kB / 0.9539 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.003743, allocations: 85.05 kB / 0.954 GB, free: 500 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.003824, allocations: 137.7 kB / 0.9541 GB, free: 352 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.003833, allocations: 25.7 kB / 0.9542 GB, free: 320 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.003882, allocations: 108 kB / 0.9543 GB, free: 208 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-06/0.003889, allocations: 3.953 kB / 0.9543 GB, free: 204 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.003914, allocations: 21.92 kB / 0.9543 GB, free: 176 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.003996, allocations: 322.8 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.004008, allocations: 4 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.004023, allocations: 21.66 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.004054, allocations: 25.72 kB / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004055, allocations: 0 / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.957e-05/0.004105, allocations: 53.62 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.004116, allocations: 8 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.004121, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.004133, allocations: 4.062 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.849e-05/0.004181, allocations: 4 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.004188, allocations: 7.938 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.004203, allocations: 7.938 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.004206, allocations: 0 / 0.9547 GB, free: 15.7 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 5.704e-05/0.004263, allocations: 123.7 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.004283, allocations: 7.953 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.658e-05/0.004299, allocations: 3.469 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.004301, allocations: 4 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.004305, allocations: 0 / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.004308, allocations: 7.938 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.004525, allocations: 410.5 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.004525, allocations: 0 / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-06/0.004535, allocations: 4 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004536, allocations: 0 / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.004544, allocations: 3.938 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004544, allocations: 0 / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.004546, allocations: 4 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.369e-05/0.004599, allocations: 73.94 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.004613, allocations: 12.05 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.004624, allocations: 7.938 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-06/0.004632, allocations: 0 / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.004644, allocations: 11.86 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.004647, allocations: 8 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.817e-05/0.004686, allocations: 101.8 kB / 0.9555 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004686, allocations: 0 / 0.9555 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001157/0.004801, allocations: 8 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 6.832e-05/0.00487, allocations: 91.25 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.926e-05/0.004939, allocations: 20 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.004941, allocations: 0 / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.765e-06/0.004949, allocations: 11.92 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.005053, allocations: 8 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.005288, allocations: 188.2 kB / 0.9558 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.642e-05/0.005334, allocations: 81.2 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.005354, allocations: 8.75 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.005355, allocations: 11.94 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of Templates: time 0.001453/0.006807, allocations: 0.7981 MB / 0.9567 GB, free: 13.57 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.275523996911943]