Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007942/0.007949, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.001529/0.001529, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437 MB / 0.7105 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 68.11 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158/1.159, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002725/1.162, allocations: 0.8878 MB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002149/1.162, allocations: 55.72 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/1.162, allocations: 0 / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.771e-05/1.162, allocations: 7.875 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/1.162, allocations: 11.81 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.165e-05/1.163, allocations: 27.97 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/1.163, allocations: 83.77 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/1.163, allocations: 45.11 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/1.163, allocations: 31.8 kB / 1.168 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/1.163, allocations: 43.77 kB / 1.168 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/1.163, allocations: 8 kB / 1.168 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/1.163, allocations: 8 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/1.163, allocations: 23.86 kB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/1.163, allocations: 39.75 kB / 1.168 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/1.163, allocations: 104 kB / 1.168 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.163, allocations: 0 / 1.168 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.823e-06/1.163, allocations: 0 / 1.168 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.755e-06/1.163, allocations: 0 / 1.168 GB, free: 2.504 MB / 0.8887 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.0006208/1.164, allocations: 403.2 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.164, allocations: 12.62 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/1.164, allocations: 16.84 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/1.164, allocations: 200.4 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/1.164, allocations: 8.562 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/1.164, allocations: 12.38 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/1.165, allocations: 112.6 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.165, allocations: 3.984 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/1.165, allocations: 0 / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.165, allocations: 3.938 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.841e-05/1.165, allocations: 39.98 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/1.166, allocations: 480.4 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/1.166, allocations: 37.09 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/1.166, allocations: 21.84 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/1.166, allocations: 4 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/1.166, allocations: 34.5 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/1.166, allocations: 0 / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002273/1.166, allocations: 57.59 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/1.166, allocations: 81.05 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/1.166, allocations: 183.8 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/1.166, allocations: 25.7 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/1.166, allocations: 108.3 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/1.166, allocations: 11.89 kB / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/1.166, allocations: 17.72 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.167, allocations: 322.8 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/1.167, allocations: 8 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/1.167, allocations: 13.72 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/1.167, allocations: 33.7 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.167, allocations: 7.938 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/1.167, allocations: 57.77 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.167, allocations: 4 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.167, allocations: 7.938 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.167, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/1.167, allocations: 7.984 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.167, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/1.167, allocations: 7.938 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/1.167, allocations: 12 kB / 1.17 GB, free: 15.93 MB / 0.9044 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 9.016e-05/1.167, allocations: 114.4 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/1.167, allocations: 15.91 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/1.167, allocations: 12.56 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.167, allocations: 3.984 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.167, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.167, allocations: 3.938 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/1.168, allocations: 474.8 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.168, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/1.168, allocations: 7.984 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.168, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.168, allocations: 3.938 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.168, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.168, allocations: 8 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.468e-05/1.168, allocations: 81.91 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/1.168, allocations: 93.05 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/1.168, allocations: 3.938 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/1.168, allocations: 0 / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/1.168, allocations: 4 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/1.168, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001143/1.168, allocations: 140.3 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.168, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002006/1.168, allocations: 19.97 kB / 1.171 GB, free: 14.85 MB / 0.9044 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.0001993/1.169, allocations: 95.25 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001301/1.169, allocations: 23.92 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.169, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/1.169, allocations: 4 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/1.169, allocations: 10.41 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/1.169, allocations: 194.8 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/1.17, allocations: 0.7002 MB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.41e-05/1.17, allocations: 4.562 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/1.17, allocations: 15.38 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/1.17, allocations: 4 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of Templates: time 0.003332/1.173, allocations: 0.516 MB / 1.173 GB, free: 13.22 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches