Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006995/0.006995, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001564/0.001564, allocations: 202 kB / 16.68 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.034/3.034, allocations: 472.6 MB / 0.7453 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 72.09 kB / 1.07 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4469, allocations: 159.9 MB / 1.226 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002451/0.4494, allocations: 0.885 MB / 1.227 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001646/0.4496, allocations: 63.7 kB / 1.227 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.4497, allocations: 0 / 1.227 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/0.4497, allocations: 7.875 kB / 1.227 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.4498, allocations: 15.8 kB / 1.227 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.053e-05/0.4499, allocations: 23.98 kB / 1.227 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.4501, allocations: 79.83 kB / 1.227 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.4503, allocations: 49.09 kB / 1.227 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.4504, allocations: 39.73 kB / 1.227 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.4505, allocations: 43.77 kB / 1.227 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.4505, allocations: 8 kB / 1.227 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.4506, allocations: 8 kB / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.4506, allocations: 19.92 kB / 1.227 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.4507, allocations: 43.73 kB / 1.227 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.4508, allocations: 103.4 kB / 1.227 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4509, allocations: 0 / 1.227 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4509, allocations: 0 / 1.227 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.4509, allocations: 0 / 1.227 GB, free: 7.797 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.0005899/0.4515, allocations: 401.1 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4515, allocations: 12.03 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.4516, allocations: 12.84 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.4519, allocations: 212.2 kB / 1.228 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4519, allocations: 12.5 kB / 1.228 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.4519, allocations: 12.38 kB / 1.228 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.4522, allocations: 101 kB / 1.228 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4522, allocations: 0 / 1.228 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.4522, allocations: 4 kB / 1.228 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.4522, allocations: 4 kB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.879e-05/0.4523, allocations: 51.84 kB / 1.228 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.4531, allocations: 476.5 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.4532, allocations: 45.16 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.4532, allocations: 37.77 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4533, allocations: 0 / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.4533, allocations: 34.56 kB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.4533, allocations: 0 / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002559/0.4536, allocations: 69.58 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/0.4537, allocations: 77.11 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.4539, allocations: 174.2 kB / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.4539, allocations: 25.92 kB / 1.229 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.454, allocations: 108 kB / 1.229 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.4541, allocations: 19.77 kB / 1.229 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.4541, allocations: 21.72 kB / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4543, allocations: 322.8 kB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.4543, allocations: 12 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.4544, allocations: 17.72 kB / 1.229 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.585e-05/0.4544, allocations: 41.64 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4545, allocations: 4 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001064/0.4546, allocations: 69.67 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4546, allocations: 8 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4546, allocations: 0 / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4546, allocations: 3.984 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.4547, allocations: 8.125 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4547, allocations: 0 / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.4548, allocations: 19.88 kB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.4548, allocations: 4 kB / 1.229 GB, free: 5.16 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 (6): * Single equations (assignments): 6 * 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 0.0001194/0.4549, allocations: 117.8 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.455, allocations: 7.953 kB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.455, allocations: 12.56 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.455, allocations: 4 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.455, allocations: 0 / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.455, allocations: 0 / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.4556, allocations: 0.5081 MB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4556, allocations: 4 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.4557, allocations: 11.94 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.4557, allocations: 4 kB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4557, allocations: 3.938 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4557, allocations: 0 / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/0.4557, allocations: 7.938 kB / 1.23 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.4559, allocations: 99.73 kB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.456, allocations: 97.05 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.456, allocations: 3.938 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.48e-05/0.456, allocations: 0 / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.456, allocations: 11.98 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.4561, allocations: 0 / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001117/0.4562, allocations: 132.2 kB / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.288e-06/0.4562, allocations: 0 / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001896/0.4564, allocations: 15.88 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0002143/0.4566, allocations: 107.2 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.4567, allocations: 27.92 kB / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4568, allocations: 0 / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.4568, allocations: 16 kB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.457, allocations: 13.78 kB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.4574, allocations: 200.2 kB / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.4579, allocations: 0.7004 MB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.719e-05/0.4579, allocations: 12.55 kB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.458, allocations: 11.44 kB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.458, allocations: 0 / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of Templates: time 0.003037/0.461, allocations: 0.5123 MB / 1.232 GB, free: 2.336 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches