Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001214/0.001214, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001965/0.00318, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00131/0.00131, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001764/0.003074, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09876/1.1, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.861/1.861, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5202/2.382, allocations: 123.3 MB / 0.728 GB, free: 5.852 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.927e-06/1.052e-05, allocations: 6.953 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001159/0.00117, allocations: 0.853 MB / 0.7302 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 7.879e-05/0.001249, allocations: 44.47 kB / 0.7302 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.001285, allocations: 6.828 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.001312, allocations: 11.86 kB / 0.7302 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.001346, allocations: 9.516 kB / 0.7302 GB, free: 3.648 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.139e-05/0.001377, allocations: 19.97 kB / 0.7303 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.946e-05/0.001457, allocations: 66.14 kB / 0.7303 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.001543, allocations: 26.39 kB / 0.7304 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.001617, allocations: 58.22 kB / 0.7304 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.001655, allocations: 14.33 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.001673, allocations: 8 kB / 0.7304 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-06/0.00168, allocations: 4 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.001694, allocations: 11.94 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.001716, allocations: 16.44 kB / 0.7305 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.007e-05/0.001796, allocations: 39.78 kB / 0.7305 GB, free: 3.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.001808, allocations: 1.406 kB / 0.7305 GB, free: 3.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.21e-07/0.001809, allocations: 0 / 0.7305 GB, free: 3.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.00182, allocations: 0 / 0.7305 GB, free: 3.41 MB / 0.698 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.0002958/0.002116, allocations: 290 kB / 0.7308 GB, free: 3.102 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.002145, allocations: 12.02 kB / 0.7308 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.002169, allocations: 12.94 kB / 0.7308 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.002285, allocations: 141.5 kB / 0.7309 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.002292, allocations: 4.375 kB / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.002302, allocations: 13.12 kB / 0.731 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.002403, allocations: 71.94 kB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.00241, allocations: 0.8125 kB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.002419, allocations: 9.5 kB / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.002423, allocations: 4.312 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.708e-05/0.00245, allocations: 19.88 kB / 0.7311 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.002796, allocations: 0.5095 MB / 0.7316 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.002852, allocations: 173.3 kB / 0.7317 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.002871, allocations: 80.67 kB / 0.7318 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.002889, allocations: 80.22 kB / 0.7319 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.002919, allocations: 105.8 kB / 0.732 GB, free: 1.789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/0.002921, allocations: 4.578 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 4.72e-05/0.002968, allocations: 29.7 kB / 0.732 GB, free: 1.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.003007, allocations: 131.5 kB / 0.7321 GB, free: 1.609 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.003079, allocations: 144.8 kB / 0.7323 GB, free: 1.457 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.003086, allocations: 26.2 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.003196, allocations: 125 kB / 0.7324 GB, free: 1.301 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-06/0.0032, allocations: 7.938 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.003224, allocations: 25.66 kB / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.003288, allocations: 322.8 kB / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-06/0.003294, allocations: 4.844 kB / 0.7328 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.003322, allocations: 58.83 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.003369, allocations: 70.86 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.003371, allocations: 0 / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.726e-05/0.003448, allocations: 79.27 kB / 0.733 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.003458, allocations: 6.969 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.003463, allocations: 4 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.00347, allocations: 1.75 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.214e-05/0.003512, allocations: 16 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.003515, allocations: 0 / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.003537, allocations: 11.94 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.003541, allocations: 4 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.861e-05/0.0036, allocations: 198.6 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.003631, allocations: 109 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.003665, allocations: 112.8 kB / 0.7334 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/0.003702, allocations: 189.4 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.677e-05/0.003749, allocations: 180.3 kB / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/0.003785, allocations: 180.2 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.004036, allocations: 338.5 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.004057, allocations: 104.9 kB / 0.7343 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.004077, allocations: 101 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.00411, allocations: 112.9 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.63e-05/0.004146, allocations: 185.5 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.004181, allocations: 176.3 kB / 0.7349 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.584e-05/0.004217, allocations: 184.2 kB / 0.7351 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.458e-05/0.004252, allocations: 181.5 kB / 0.7352 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.979e-05/0.004331, allocations: 311.7 kB / 0.7355 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.004371, allocations: 180.3 kB / 0.7357 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.004413, allocations: 109.4 kB / 0.7358 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.004449, allocations: 181.9 kB / 0.736 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.004471, allocations: 105 kB / 0.7361 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.941e-05/0.00449, allocations: 26.89 kB / 0.7361 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00449, allocations: 3.938 kB / 0.7361 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001228/0.004613, allocations: 13.17 kB / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 7.005e-05/0.004683, allocations: 155.7 kB / 0.7363 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.127e-05/0.004734, allocations: 30.12 kB / 0.7363 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.004737, allocations: 0.75 kB / 0.7363 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.52e-07/0.004738, allocations: 4 kB / 0.7363 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.004919, allocations: 464.4 kB / 0.7368 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001887/0.005108, allocations: 237.3 kB / 0.737 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.695e-05/0.005134, allocations: 60.52 kB / 0.737 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.005161, allocations: 6.641 kB / 0.737 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.005187, allocations: 55.38 kB / 0.7371 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.005187, allocations: 0.7812 kB / 0.7371 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.001527/0.006714, allocations: 339.3 kB / 0.7374 GB, free: 11.89 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.852669977582991]