Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00105/0.00105, allocations: 195.8 kB / 16.25 MB, free: 6.633 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.2 MB / 0.6644 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 75.88 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5643, allocations: 140.4 MB / 0.9492 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001949/0.5663, allocations: 0.8803 MB / 0.9501 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001151/0.5664, allocations: 45.28 kB / 0.9501 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.5665, allocations: 1.375 kB / 0.9501 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.5666, allocations: 3.938 kB / 0.9501 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.602e-05/0.5667, allocations: 13.3 kB / 0.9502 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.373e-05/0.5667, allocations: 10.75 kB / 0.9502 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.5668, allocations: 60.59 kB / 0.9502 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.5669, allocations: 48.05 kB / 0.9503 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.567, allocations: 23.77 kB / 0.9503 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.567, allocations: 28.27 kB / 0.9503 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.5671, allocations: 5.656 kB / 0.9503 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.5671, allocations: 6.625 kB / 0.9503 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.5671, allocations: 18.17 kB / 0.9503 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.5671, allocations: 30.22 kB / 0.9504 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.254e-05/0.5672, allocations: 79.5 kB / 0.9505 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5673, allocations: 0 / 0.9505 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5673, allocations: 4 kB / 0.9505 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5673, allocations: 0 / 0.9505 GB, free: 8.227 MB / 0.7169 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.0003352/0.5676, allocations: 379.6 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5677, allocations: 8.406 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.5677, allocations: 41.36 kB / 0.9509 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.5677, allocations: 14.44 kB / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.5679, allocations: 189.6 kB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.5679, allocations: 7.312 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.5679, allocations: 9.594 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.5681, allocations: 95.56 kB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5681, allocations: 3.938 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5681, allocations: 5.219 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5681, allocations: 2.594 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/0.5682, allocations: 35.14 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.5686, allocations: 441.8 kB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/0.5687, allocations: 37.25 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.5687, allocations: 22.36 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.5687, allocations: 1.75 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.5687, allocations: 35.91 kB / 0.9517 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.5688, allocations: 0 / 0.9517 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001561/0.5689, allocations: 54.89 kB / 0.9518 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.5689, allocations: 77.11 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.5691, allocations: 167.6 kB / 0.952 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.5691, allocations: 25.7 kB / 0.952 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.5691, allocations: 117.2 kB / 0.9521 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-06/0.5691, allocations: 5 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.5692, allocations: 13.81 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.5692, allocations: 320.1 kB / 0.9525 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.5692, allocations: 7.281 kB / 0.9525 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.5693, allocations: 26.95 kB / 0.9525 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.5693, allocations: 26.06 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5693, allocations: 0 / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.521e-05/0.5694, allocations: 59.59 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5694, allocations: 9.688 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5694, allocations: 0 / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5694, allocations: 1.562 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.5695, allocations: 10.53 kB / 0.9526 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5695, allocations: 0 / 0.9526 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.5695, allocations: 6.062 kB / 0.9526 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.5696, allocations: 6.062 kB / 0.9526 GB, free: 6.012 MB / 0.7169 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 4.721e-05/0.5696, allocations: 111.8 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.5696, allocations: 11.91 kB / 0.9527 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.5697, allocations: 15.75 kB / 0.9527 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5697, allocations: 0 / 0.9527 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5697, allocations: 1.312 kB / 0.9528 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5697, allocations: 5.094 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.57, allocations: 478 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.57, allocations: 0 / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.57, allocations: 6.906 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.57, allocations: 1.375 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.57, allocations: 1.5 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.57, allocations: 0 / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.57, allocations: 1.375 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.965e-05/0.5701, allocations: 86.36 kB / 0.9533 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.5701, allocations: 91.75 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.5702, allocations: 1.469 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.5702, allocations: 0 / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.5702, allocations: 5.281 kB / 0.9534 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.5702, allocations: 1.406 kB / 0.9534 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.472e-05/0.5703, allocations: 119.9 kB / 0.9535 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5703, allocations: 0 / 0.9535 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001957/0.5705, allocations: 15.19 kB / 0.9535 GB, free: 5.055 MB / 0.7169 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.0002261/0.5707, allocations: 0.6141 MB / 0.9541 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.432e-05/0.5708, allocations: 22.41 kB / 0.9541 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5708, allocations: 0 / 0.9541 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.5708, allocations: 8.219 kB / 0.9542 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.571, allocations: 9.125 kB / 0.9542 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008888/0.5719, allocations: 1.345 MB / 0.9555 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.56e-05/0.572, allocations: 0.6948 MB / 0.9562 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.572, allocations: 7.984 kB / 0.9562 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.5721, allocations: 27.72 kB / 0.9562 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.5721, allocations: 0 / 0.9562 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.5827, allocations: 1.466 MB / 0.9576 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.5829, allocations: 217.1 kB / 0.9578 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.136, allocations: 0 / 0.9578 GB, free: 1.438 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches