Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.001416/0.001416, 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.001647/0.001647, allocations: 192.6 kB / 16.25 MB, free: 6.637 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.543/2.543, allocations: 390.3 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5709, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.0019/0.5729, allocations: 0.9347 MB / 0.9502 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.573, allocations: 49.98 kB / 0.9502 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.5731, allocations: 1.469 kB / 0.9502 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.5731, allocations: 5.375 kB / 0.9502 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.5732, allocations: 3.938 kB / 0.9502 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.699e-05/0.5733, allocations: 24.27 kB / 0.9502 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.5734, allocations: 78.88 kB / 0.9503 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.5735, allocations: 56 kB / 0.9504 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.5736, allocations: 29.91 kB / 0.9504 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.5736, allocations: 41.88 kB / 0.9504 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.5736, allocations: 8.156 kB / 0.9504 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.5737, allocations: 8.062 kB / 0.9504 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.853e-05/0.5737, allocations: 18.83 kB / 0.9505 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.5737, allocations: 51.33 kB / 0.9505 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.82e-05/0.5738, allocations: 90.83 kB / 0.9506 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5738, allocations: 1.562 kB / 0.9506 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5738, allocations: 0 / 0.9506 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.5738, allocations: 0 / 0.9506 GB, free: 8.07 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003235/0.5742, allocations: 399.4 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.5742, allocations: 9.531 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.406e-05/0.5742, allocations: 42.86 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.5743, allocations: 10.34 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.5744, allocations: 215.2 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.5744, allocations: 8.688 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.5744, allocations: 9.812 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.5746, allocations: 110.9 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.5746, allocations: 0 / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.5746, allocations: 5.375 kB / 0.9514 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.5746, allocations: 2.75 kB / 0.9514 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.5747, allocations: 39.36 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.5751, allocations: 472.6 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.859e-05/0.5751, allocations: 42.69 kB / 0.9519 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.5751, allocations: 19.22 kB / 0.9519 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.5752, allocations: 1.375 kB / 0.9519 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.5752, allocations: 39.88 kB / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5752, allocations: 0 / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.5753, allocations: 51.34 kB / 0.952 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.5753, allocations: 82.42 kB / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.5755, allocations: 190 kB / 0.9523 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.5755, allocations: 29.69 kB / 0.9523 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.5755, allocations: 110.5 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.5755, allocations: 7.891 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.5756, allocations: 21.59 kB / 0.9524 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.5756, allocations: 322.1 kB / 0.9527 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.5756, allocations: 3.688 kB / 0.9527 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.5757, allocations: 18.44 kB / 0.9528 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.5757, allocations: 25.59 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5757, allocations: 1.812 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.575e-05/0.5758, allocations: 62.69 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.5758, allocations: 5.312 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5758, allocations: 0 / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5758, allocations: 1.656 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.5759, allocations: 4.812 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5759, allocations: 5.625 kB / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.5759, allocations: 21.89 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.5759, allocations: 5.375 kB / 0.9529 GB, free: 5.766 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.781e-05/0.576, allocations: 113.9 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.576, allocations: 9.812 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.576, allocations: 11.16 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.5761, allocations: 1.25 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5761, allocations: 1.219 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5761, allocations: 11.92 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.5763, allocations: 473.8 kB / 0.9535 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5763, allocations: 4 kB / 0.9535 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.5764, allocations: 3.406 kB / 0.9535 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.5764, allocations: 9.516 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.5764, allocations: 0 / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5764, allocations: 1.406 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5764, allocations: 0 / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.648e-05/0.5764, allocations: 83.53 kB / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.5765, allocations: 88.94 kB / 0.9537 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.5765, allocations: 5.062 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/0.5765, allocations: 1.281 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.5765, allocations: 5.344 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.5765, allocations: 4.031 kB / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.513e-05/0.5766, allocations: 135.5 kB / 0.9538 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5766, allocations: 0 / 0.9538 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001789/0.5768, allocations: 11.12 kB / 0.9538 GB, free: 4.809 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.0001975/0.577, allocations: 0.6212 MB / 0.9544 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.833e-05/0.5771, allocations: 19.12 kB / 0.9544 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5771, allocations: 0 / 0.9544 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-06/0.5771, allocations: 4.625 kB / 0.9545 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.5773, allocations: 6.844 kB / 0.9545 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.5781, allocations: 1.424 MB / 0.9558 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.671e-05/0.5782, allocations: 0.7019 MB / 0.9565 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.5783, allocations: 5.875 kB / 0.9565 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.5783, allocations: 27.8 kB / 0.9566 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/0.5783, allocations: 0 / 0.9566 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.6021, allocations: 1.642 MB / 0.9582 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/0.6022, allocations: 203.4 kB / 0.9584 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.336, allocations: 0 / 0.9584 GB, free: 1.074 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches