Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001915/0.001915, allocations: 191 kB / 17.29 MB, free: 5.516 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001818, allocations: 63.89 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4292, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002369/0.4316, allocations: 0.8365 MB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001135/0.4317, allocations: 43.78 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.4318, allocations: 4 kB / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.4319, allocations: 7.875 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.969e-05/0.432, allocations: 7.875 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.841e-05/0.432, allocations: 19.97 kB / 0.952 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.4321, allocations: 63.84 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.4323, allocations: 47.89 kB / 0.9521 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.4324, allocations: 23.92 kB / 0.9521 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.4325, allocations: 27.8 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.4325, allocations: 8 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.4325, allocations: 4 kB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.4325, allocations: 19.92 kB / 0.9522 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.4326, allocations: 27.81 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.4327, allocations: 83.62 kB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4327, allocations: 0 / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4327, allocations: 0 / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.4327, allocations: 0 / 0.9523 GB, free: 6.82 MB / 0.7325 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.0004462/0.4332, allocations: 379.2 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4332, allocations: 8.031 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.4333, allocations: 8.844 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.4335, allocations: 200.1 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4335, allocations: 12.31 kB / 0.9529 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.4335, allocations: 4.375 kB / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.4337, allocations: 91.86 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4337, allocations: 192 / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4337, allocations: 11.94 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4337, allocations: 0 / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/0.4338, allocations: 35.92 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.4344, allocations: 440.7 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.54e-05/0.4345, allocations: 37.19 kB / 0.9535 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.4345, allocations: 21.84 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.4345, allocations: 4 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.4346, allocations: 30.56 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4346, allocations: 0 / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001989/0.4348, allocations: 57.47 kB / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.4348, allocations: 85.05 kB / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.435, allocations: 168 kB / 0.9538 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.435, allocations: 25.95 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.4351, allocations: 108 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.4351, allocations: 7.906 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.4351, allocations: 13.72 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4353, allocations: 322.8 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.4353, allocations: 4 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.4353, allocations: 21.66 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.4354, allocations: 29.72 kB / 0.9543 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4354, allocations: 0 / 0.9543 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.596e-05/0.4355, allocations: 57.53 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4355, allocations: 8 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4355, allocations: 3.938 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4355, allocations: 4 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.4356, allocations: 4 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4356, allocations: 4 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.4357, allocations: 15.89 kB / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.4357, allocations: 7.938 kB / 0.9544 GB, free: 4.371 MB / 0.7325 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.495e-05/0.4358, allocations: 115.8 kB / 0.9545 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.4358, allocations: 7.906 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.4358, allocations: 11.81 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.4358, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4359, allocations: 4 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4359, allocations: 0 / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.4363, allocations: 478.8 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4363, allocations: 0 / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.4363, allocations: 4 kB / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4363, allocations: 0 / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4363, allocations: 3.938 kB / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4363, allocations: 0 / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4363, allocations: 0 / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.111e-05/0.4364, allocations: 77.91 kB / 0.9551 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.4365, allocations: 93 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4365, allocations: 4 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.4365, allocations: 0 / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.4366, allocations: 4.078 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.4366, allocations: 0 / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.53e-05/0.4367, allocations: 122.3 kB / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4367, allocations: 0 / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001952/0.4369, allocations: 12.03 kB / 0.9553 GB, free: 3.344 MB / 0.7325 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.0001244/0.437, allocations: 107.2 kB / 0.9554 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.303e-05/0.4371, allocations: 19.94 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4371, allocations: 0 / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.4371, allocations: 7.938 kB / 0.9555 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.4373, allocations: 15.17 kB / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.4377, allocations: 171 kB / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.438, allocations: 0.6922 MB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.438, allocations: 8.422 kB / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.438, allocations: 11.44 kB / 0.9563 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.4381, allocations: 0 / 0.9563 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.0027/0.4408, allocations: 452.4 kB / 0.9568 GB, free: 1.809 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches