Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_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.005252/0.005252, allocations: 96.88 kB / 15.73 MB, free: 6.055 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.001405/0.001405, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.624/2.624, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 71.88 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2641, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001885/0.266, allocations: 0.8765 MB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.2661, allocations: 59.72 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.2662, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.2662, allocations: 15.86 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.77e-05/0.2663, allocations: 11.86 kB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.464e-05/0.2663, allocations: 23.98 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2665, allocations: 79.77 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2666, allocations: 53.08 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.2667, allocations: 27.81 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.2667, allocations: 39.78 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.2667, allocations: 8 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.2668, allocations: 8 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.2668, allocations: 23.86 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.2668, allocations: 51.72 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.267, allocations: 91.5 kB / 1.222 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.267, allocations: 0 / 1.222 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.51e-07/0.267, allocations: 0 / 1.222 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.267, allocations: 0 / 1.222 GB, free: 12.97 MB / 0.9825 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.0004201/0.2674, allocations: 405.4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.2675, allocations: 8.031 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.2675, allocations: 42.73 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.2675, allocations: 16.78 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.2678, allocations: 208.4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2678, allocations: 8.562 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.2678, allocations: 8.375 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.268, allocations: 116.3 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.268, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.268, allocations: 8 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.268, allocations: 4 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.2681, allocations: 35.98 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.2686, allocations: 476.4 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.164e-05/0.2687, allocations: 33.28 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.2687, allocations: 17.72 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.2688, allocations: 4 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2688, allocations: 38.5 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2688, allocations: 7.938 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/0.269, allocations: 57.53 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.269, allocations: 77.11 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.2692, allocations: 187.1 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.2692, allocations: 29.95 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.2693, allocations: 108.1 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.2693, allocations: 15.88 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.2693, allocations: 17.94 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2695, allocations: 318.8 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.2695, allocations: 7.938 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.2695, allocations: 17.72 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.655e-05/0.2696, allocations: 33.66 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2696, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.421e-05/0.2697, allocations: 61.59 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2697, allocations: 9.719 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2697, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2697, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.2698, allocations: 4 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2698, allocations: 7.938 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.2698, allocations: 15.94 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2698, allocations: 4 kB / 1.224 GB, free: 10.34 MB / 0.9825 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 8.549e-05/0.2699, allocations: 113.8 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.27, allocations: 7.953 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.27, allocations: 12.56 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.27, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.27, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.27, allocations: 7.922 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.2704, allocations: 478.8 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2704, allocations: 0 / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.2704, allocations: 4 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2705, allocations: 7.922 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.2705, allocations: 0 / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2705, allocations: 4 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2705, allocations: 0 / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.706e-05/0.2706, allocations: 85.91 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.2706, allocations: 89.05 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2707, allocations: 4.031 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.2707, allocations: 8 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.2707, allocations: 7.984 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.2707, allocations: 0 / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001086/0.2708, allocations: 136.3 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2708, allocations: 4.031 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001797/0.271, allocations: 15.89 kB / 1.225 GB, free: 9.258 MB / 0.9825 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.0004073/0.2714, allocations: 0.6171 MB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.2715, allocations: 20.03 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2715, allocations: 3.938 kB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.2716, allocations: 7.938 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.2717, allocations: 8 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2731, allocations: 1.404 MB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2734, allocations: 0.7041 MB / 1.227 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.2735, allocations: 8.547 kB / 1.227 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.2735, allocations: 27.42 kB / 1.227 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.2735, allocations: 3.938 kB / 1.227 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6417/0.9152, allocations: 1.734 MB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.63, allocations: 4.688 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches