Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.0008903/0.0008904, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005491/0.005491, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.275/1.275, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.557/0.5574, allocations: 142.4 MB / 0.9552 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.0007994/0.5582, allocations: 0.5902 MB / 0.9557 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.782e-05/0.5583, allocations: 54.61 kB / 0.9558 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.5584, allocations: 2.25 kB / 0.9558 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.5584, allocations: 7.922 kB / 0.9558 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-05/0.5585, allocations: 5.094 kB / 0.9558 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.875e-05/0.5585, allocations: 19.61 kB / 0.9558 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.068e-05/0.5586, allocations: 73.72 kB / 0.9559 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.5588, allocations: 50.05 kB / 0.9559 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.512e-05/0.5588, allocations: 27.61 kB / 0.956 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.5588, allocations: 28.64 kB / 0.956 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.5589, allocations: 2.125 kB / 0.956 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.5589, allocations: 6.031 kB / 0.956 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.5589, allocations: 6.75 kB / 0.956 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.5589, allocations: 60.44 kB / 0.9561 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.969e-05/0.559, allocations: 90.52 kB / 0.9562 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.559, allocations: 0 / 0.9562 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.559, allocations: 1.219 kB / 0.9562 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.559, allocations: 3.938 kB / 0.9562 GB, free: 6.945 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.0002786/0.5593, allocations: 377.4 kB / 0.9565 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.5594, allocations: 9.156 kB / 0.9565 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.624e-05/0.5594, allocations: 46.09 kB / 0.9566 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.5594, allocations: 15.34 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.5596, allocations: 204.7 kB / 0.9568 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.5596, allocations: 12.56 kB / 0.9568 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.5596, allocations: 9.844 kB / 0.9568 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.5598, allocations: 104 kB / 0.9569 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.5598, allocations: 3.938 kB / 0.9569 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5598, allocations: 1.156 kB / 0.9569 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5598, allocations: 6.5 kB / 0.9569 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.5599, allocations: 43 kB / 0.957 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.5603, allocations: 465.6 kB / 0.9574 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.895e-05/0.5603, allocations: 42.75 kB / 0.9574 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.5604, allocations: 19.75 kB / 0.9575 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.5604, allocations: 0.9688 kB / 0.9575 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.5604, allocations: 35.64 kB / 0.9575 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.5604, allocations: 3.938 kB / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001416/0.5605, allocations: 51.89 kB / 0.9576 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.5606, allocations: 86.2 kB / 0.9576 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.5607, allocations: 189.9 kB / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.5607, allocations: 26.89 kB / 0.9578 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.5608, allocations: 109.3 kB / 0.9579 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-06/0.5608, allocations: 8.969 kB / 0.958 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.5608, allocations: 15.78 kB / 0.958 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.5608, allocations: 320.9 kB / 0.9583 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.5609, allocations: 3.594 kB / 0.9583 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/0.5609, allocations: 26.61 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.5609, allocations: 21.69 kB / 0.9583 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5609, allocations: 0 / 0.9583 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.972e-05/0.561, allocations: 60.11 kB / 0.9584 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.561, allocations: 5.969 kB / 0.9584 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.561, allocations: 3.984 kB / 0.9584 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.561, allocations: 5.469 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.961e-05/0.5611, allocations: 4.688 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.5611, allocations: 1.719 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.5611, allocations: 13.34 kB / 0.9584 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.5611, allocations: 1.344 kB / 0.9584 GB, free: 4.668 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.629e-05/0.5612, allocations: 118.3 kB / 0.9585 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.5612, allocations: 13.5 kB / 0.9585 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.5613, allocations: 15.3 kB / 0.9586 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5613, allocations: 9.156 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5613, allocations: 0.9688 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5613, allocations: 5.125 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.5615, allocations: 472.8 kB / 0.959 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5616, allocations: 0 / 0.959 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.5616, allocations: 3.125 kB / 0.959 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5616, allocations: 9.156 kB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.5616, allocations: 0.9375 kB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5616, allocations: 4.062 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5616, allocations: 1.062 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.733e-05/0.5617, allocations: 79.92 kB / 0.9591 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.5617, allocations: 92.77 kB / 0.9592 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.5617, allocations: 5.438 kB / 0.9592 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.5618, allocations: 3.984 kB / 0.9592 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.5618, allocations: 9.625 kB / 0.9592 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.5618, allocations: 5.484 kB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.5618, allocations: 130.6 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.41e-07/0.5619, allocations: 0 / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001812/0.562, allocations: 11.12 kB / 0.9594 GB, free: 3.695 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.0001886/0.5622, allocations: 0.6181 MB / 0.96 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.255e-05/0.5623, allocations: 21.02 kB / 0.96 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5623, allocations: 1.312 kB / 0.96 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-06/0.5623, allocations: 3.781 kB / 0.96 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.5625, allocations: 15.03 kB / 0.96 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/0.5633, allocations: 1.42 MB / 0.9614 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.106e-05/0.5634, allocations: 0.7025 MB / 0.9621 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.5635, allocations: 9.297 kB / 0.9621 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.5635, allocations: 23.56 kB / 0.9621 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.5635, allocations: 0 / 0.9621 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.5752, allocations: 1.506 MB / 0.9636 GB, free: 336 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001184/0.5754, allocations: 207.9 kB / 0.9638 GB, free: 76 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.137, allocations: 4.688 kB / 0.9638 GB, free: 72 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches