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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001522/0.001522, allocations: 105.2 kB / 16.41 MB, free: 6.488 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.001463/0.001463, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.88 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7977, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002093/0.7999, allocations: 0.8776 MB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001457/0.8, allocations: 51.72 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.8001, allocations: 4 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.232e-05/0.8002, allocations: 11.86 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.8003, allocations: 15.8 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.452e-05/0.8003, allocations: 27.97 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.8004, allocations: 83.83 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.8006, allocations: 45.09 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.579e-05/0.8007, allocations: 47.73 kB / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.8008, allocations: 35.78 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.8008, allocations: 8 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.8008, allocations: 8 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.8008, allocations: 19.91 kB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.8009, allocations: 43.75 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.801, allocations: 107.3 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.801, allocations: 0 / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.801, allocations: 0 / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.801, allocations: 4 kB / 1.21 GB, free: 12.25 MB / 0.9356 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.0004775/0.8015, allocations: 393.2 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.8016, allocations: 12.03 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.8016, allocations: 12.75 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.8019, allocations: 208.3 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.8019, allocations: 0.5625 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.8019, allocations: 12.38 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.8021, allocations: 111.5 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.8021, allocations: 3.938 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.8021, allocations: 4 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8021, allocations: 4 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.8022, allocations: 47.91 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.8028, allocations: 468.4 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.194e-05/0.8029, allocations: 49.16 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.803, allocations: 29.77 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.803, allocations: 4 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.803, allocations: 42.5 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.803, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000192/0.8032, allocations: 65.53 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.8033, allocations: 81.11 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.8035, allocations: 172 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.8035, allocations: 25.7 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.8035, allocations: 107.9 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.8036, allocations: 11.81 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.8036, allocations: 29.95 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8037, allocations: 318.8 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.8038, allocations: 11.98 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.8038, allocations: 21.84 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.8039, allocations: 41.88 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8039, allocations: 0 / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000109/0.804, allocations: 77.44 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.804, allocations: 12 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.804, allocations: 0 / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.804, allocations: 0 / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.8041, allocations: 8 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8041, allocations: 0 / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.8042, allocations: 15.84 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.8042, allocations: 0 / 1.212 GB, free: 9.629 MB / 0.9356 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 7.805e-05/0.8043, allocations: 119.3 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.8043, allocations: 15.89 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.8043, allocations: 12.56 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8043, allocations: 4 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8044, allocations: 0 / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.8044, allocations: 0 / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.8048, allocations: 0.5081 MB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8048, allocations: 0 / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.8049, allocations: 8.125 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8049, allocations: 4 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.8049, allocations: 3.938 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.8049, allocations: 0 / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8049, allocations: 7.938 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.805, allocations: 103.6 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.8051, allocations: 89 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.8051, allocations: 7.938 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.764e-05/0.8052, allocations: 0 / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.8052, allocations: 4 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.8052, allocations: 0 / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.884e-05/0.8053, allocations: 136.2 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8053, allocations: 3.938 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002153/0.8055, allocations: 11.91 kB / 1.213 GB, free: 8.477 MB / 0.9356 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.0001271/0.8057, allocations: 111.1 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.8058, allocations: 31.92 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8058, allocations: 0 / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-05/0.8058, allocations: 12 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.806, allocations: 9.875 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.8064, allocations: 234.2 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.8067, allocations: 0.7002 MB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.8067, allocations: 11.44 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.8067, allocations: 0 / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of Templates: time 0.002312/0.809, allocations: 1.008 MB / 1.215 GB, free: 6.293 MB / 0.9356 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/jenkins1/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