Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 106.9 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 189.2 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.558/2.558, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001286, allocations: 67.09 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3426, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002456/0.3451, allocations: 0.837 MB / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001586/0.3453, allocations: 43.78 kB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.3454, allocations: 4 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/0.3455, allocations: 11.86 kB / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.3456, allocations: 11.88 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.503e-05/0.3456, allocations: 15.98 kB / 1.028 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.3457, allocations: 63.84 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.3459, allocations: 43.95 kB / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.346, allocations: 27.81 kB / 1.028 GB, free: 1.016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.3461, allocations: 27.84 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.3461, allocations: 4 kB / 1.028 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.3461, allocations: 8 kB / 1.028 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.3461, allocations: 15.92 kB / 1.028 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.3462, allocations: 35.73 kB / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.3463, allocations: 75.66 kB / 1.028 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3463, allocations: 4 kB / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3463, allocations: 0 / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3464, allocations: 0 / 1.028 GB, free: 0.8477 MB / 0.795 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.000452/0.3468, allocations: 375.2 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3469, allocations: 8.031 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.3469, allocations: 12.84 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.3471, allocations: 192.2 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3472, allocations: 8.281 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.3472, allocations: 12.38 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3473, allocations: 95.88 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3474, allocations: 192 / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3474, allocations: 7.938 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3474, allocations: 7.984 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/0.3475, allocations: 39.86 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.3481, allocations: 436.6 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.3482, allocations: 33.31 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.3482, allocations: 25.7 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.3482, allocations: 4 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.3483, allocations: 34.56 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3483, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001847/0.3485, allocations: 53.48 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.3485, allocations: 77.11 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3487, allocations: 164.5 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.3487, allocations: 25.7 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.3488, allocations: 112 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.3488, allocations: 4.156 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.3489, allocations: 17.72 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.349, allocations: 322.8 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.349, allocations: 8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.349, allocations: 17.7 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.3491, allocations: 33.66 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3491, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.954e-05/0.3492, allocations: 53.55 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3492, allocations: 7.984 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3492, allocations: 7.938 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3492, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.3493, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3493, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.3494, allocations: 15.84 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.3494, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 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 7.87e-05/0.3495, allocations: 121.8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.3495, allocations: 7.906 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.3495, allocations: 15.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3495, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3496, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.3496, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.3499, allocations: 470.8 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.35, allocations: 8.062 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.35, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.35, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.35, allocations: 4 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.35, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.35, allocations: 4 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.159e-05/0.3501, allocations: 85.77 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.3502, allocations: 93 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.3502, allocations: 3.938 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.3502, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.3502, allocations: 4 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.3502, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.26e-05/0.3503, allocations: 120.7 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3503, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000197/0.3505, allocations: 12 kB / 1.031 GB, free: 13.37 MB / 0.8106 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.0001168/0.3507, allocations: 99.28 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.345e-05/0.3508, allocations: 23.88 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3508, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.3508, allocations: 7.984 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.351, allocations: 11.94 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.3513, allocations: 159 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3516, allocations: 0.7002 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.313e-05/0.3516, allocations: 4.438 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.3517, allocations: 11.44 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3517, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.002603/0.3543, allocations: 456.5 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches