Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 105.1 kB / 16.41 MB, free: 5.977 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.001309/0.001309, allocations: 188.8 kB / 17.34 MB, free: 5.586 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.83/0.8314, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001898/0.8333, allocations: 0.8175 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.8335, allocations: 47.72 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.8336, allocations: 0 / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.8336, allocations: 15.81 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.8337, allocations: 7.922 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.542e-05/0.8337, allocations: 19.98 kB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.8339, allocations: 67.77 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.834, allocations: 47.92 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.8341, allocations: 19.92 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.8341, allocations: 27.8 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.8341, allocations: 8 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.8342, allocations: 4 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.8342, allocations: 19.92 kB / 1.21 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.8342, allocations: 39.73 kB / 1.21 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.8343, allocations: 71.7 kB / 1.21 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8344, allocations: 0 / 1.21 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8344, allocations: 0 / 1.21 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.8344, allocations: 4 kB / 1.21 GB, free: 12.56 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003922/0.8348, allocations: 385 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.8348, allocations: 12.03 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.8348, allocations: 8.844 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.835, allocations: 192.1 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.8351, allocations: 8.375 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.8351, allocations: 8.375 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.8352, allocations: 95.95 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8352, allocations: 4.172 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.8353, allocations: 3.938 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.8353, allocations: 4 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.102e-05/0.8353, allocations: 35.92 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.8358, allocations: 432.5 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.8359, allocations: 49.28 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.836, allocations: 21.84 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.836, allocations: 0 / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.836, allocations: 34.55 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.836, allocations: 4 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.8362, allocations: 57.48 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.8362, allocations: 77.11 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.8363, allocations: 164.4 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.8364, allocations: 25.7 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.8364, allocations: 104 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.8364, allocations: 3.906 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.8365, allocations: 17.97 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.8366, allocations: 330.8 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.8366, allocations: 4 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.8366, allocations: 21.7 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.8367, allocations: 21.72 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8367, allocations: 0 / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.418e-05/0.8368, allocations: 65.55 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.8368, allocations: 4 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8368, allocations: 3.938 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.8368, allocations: 0 / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.8369, allocations: 11.98 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.8369, allocations: 0 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.8369, allocations: 3.906 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.8369, allocations: 7.938 kB / 1.212 GB, free: 10.12 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 (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 6.939e-05/0.837, allocations: 117.8 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.8371, allocations: 11.97 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.8371, allocations: 15.8 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.8371, allocations: 4 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8371, allocations: 0 / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8371, allocations: 0 / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.8375, allocations: 466.8 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.8375, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.8375, allocations: 12.06 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8375, allocations: 0 / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.8375, allocations: 0 / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8375, allocations: 0 / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8376, allocations: 4 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.771e-05/0.8376, allocations: 77.92 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.8377, allocations: 92.94 kB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.8377, allocations: 12.02 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.8377, allocations: 4 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.8378, allocations: 3.938 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8378, allocations: 4 kB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.267e-05/0.8379, allocations: 121.3 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8379, allocations: 0 / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001925/0.8381, allocations: 7.906 kB / 1.213 GB, free: 9.074 MB / 0.9356 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.0001019/0.8382, allocations: 103.2 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.776e-05/0.8383, allocations: 12 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8383, allocations: 0 / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.445e-05/0.8383, allocations: 11.94 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.8384, allocations: 13.8 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.8387, allocations: 184.5 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.839, allocations: 0.7009 MB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.839, allocations: 11.44 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.839, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of Templates: time 0.002103/0.8411, allocations: 0.856 MB / 1.214 GB, free: 7.113 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches