Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 105.8 kB / 15.99 MB, free: 6.359 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.001052/0.001052, allocations: 194.7 kB / 16.91 MB, free: 6.195 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 469.4 MB / 0.7423 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 67.86 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4302, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002516/0.4328, allocations: 0.8881 MB / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001537/0.433, allocations: 43.78 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.433, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.4331, allocations: 3.938 kB / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.886e-05/0.4332, allocations: 0 / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.648e-05/0.4333, allocations: 19.98 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.4334, allocations: 59.8 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.4336, allocations: 51.94 kB / 1.065 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.4337, allocations: 19.88 kB / 1.065 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.4337, allocations: 27.84 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.4338, allocations: 8 kB / 1.065 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.4338, allocations: 8 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.4338, allocations: 15.94 kB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.4339, allocations: 39.67 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.434, allocations: 56.17 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.434, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.765e-06/0.434, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.434, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8419 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.0004847/0.4345, allocations: 379.2 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4345, allocations: 12.62 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.4346, allocations: 16.75 kB / 1.065 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.4348, allocations: 184.2 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.4348, allocations: 4.375 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.4349, allocations: 8.375 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.4351, allocations: 99.88 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4351, allocations: 192 / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.4352, allocations: 3.938 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4352, allocations: 7.938 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.512e-05/0.4353, allocations: 35.92 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.4359, allocations: 440.6 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.517e-05/0.4359, allocations: 41.31 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.436, allocations: 17.72 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.436, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.436, allocations: 38.55 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.436, allocations: 4 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001852/0.4362, allocations: 53.48 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.4363, allocations: 81.36 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.4365, allocations: 164.1 kB / 1.066 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.4365, allocations: 25.7 kB / 1.066 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.4365, allocations: 104 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.4366, allocations: 7.906 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.4366, allocations: 13.72 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4367, allocations: 326.8 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.4367, allocations: 4 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.4368, allocations: 25.7 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.735e-05/0.4369, allocations: 25.66 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4369, allocations: 0 / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.437, allocations: 61.55 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.437, allocations: 4 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.437, allocations: 3.938 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.437, allocations: 8.047 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.4371, allocations: 12 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4371, allocations: 3.984 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.4372, allocations: 11.84 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.4372, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8419 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.846e-05/0.4373, allocations: 113.8 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.4373, allocations: 7.906 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.4374, allocations: 19.8 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4374, allocations: 96 / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4374, allocations: 3.984 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4375, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.438, allocations: 466.8 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4381, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.4381, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4381, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.4381, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4381, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4381, allocations: 8 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.4383, allocations: 81.77 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.4383, allocations: 85.02 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4384, allocations: 3.984 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.4384, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.4384, allocations: 4 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.4384, allocations: 8.031 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001039/0.4385, allocations: 121.7 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4386, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002157/0.4388, allocations: 4 kB / 1.068 GB, free: 10.66 MB / 0.8419 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.000176/0.439, allocations: 99.25 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4391, allocations: 19.88 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4391, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.4391, allocations: 12.12 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.4393, allocations: 11.92 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.4397, allocations: 208.6 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.4401, allocations: 0.6963 MB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.4401, allocations: 11.44 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.4401, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of Templates: time 0.002372/0.4425, allocations: 0.8638 MB / 1.07 GB, free: 8.668 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches