Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001346/0.001346, allocations: 197 kB / 16.14 MB, free: 6.711 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.511/1.511, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.98 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4376, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002388/0.4401, allocations: 0.8826 MB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000105/0.4402, allocations: 39.8 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.4402, allocations: 4 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.931e-05/0.4403, allocations: 3.938 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.4404, allocations: 3.938 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.321e-05/0.4404, allocations: 15.98 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.4405, allocations: 63.83 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.4407, allocations: 39.95 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.836e-05/0.4407, allocations: 31.8 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.4408, allocations: 27.8 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.4408, allocations: 4 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.4408, allocations: 4 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.4409, allocations: 11.98 kB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.4409, allocations: 31.75 kB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.441, allocations: 68.05 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.441, allocations: 3.984 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.041e-06/0.441, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4411, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8262 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.0004195/0.4415, allocations: 379.2 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4415, allocations: 8.031 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.4416, allocations: 12.78 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.4418, allocations: 200.1 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.4419, allocations: 8.375 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.4419, allocations: 8.375 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.442, allocations: 85.52 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.4421, allocations: 192 / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.4421, allocations: 11.94 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4421, allocations: 3.938 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.4422, allocations: 35.98 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.4428, allocations: 436.5 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.601e-05/0.4429, allocations: 49.2 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.4429, allocations: 21.84 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.4429, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.443, allocations: 30.56 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.443, allocations: 3.938 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.4431, allocations: 57.53 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4432, allocations: 85.05 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.4434, allocations: 160.5 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4434, allocations: 25.95 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.4435, allocations: 108 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.4435, allocations: 7.891 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.4436, allocations: 17.72 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4438, allocations: 318.8 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.4438, allocations: 3.984 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.4438, allocations: 25.7 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.444, allocations: 25.72 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.444, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.315e-05/0.4441, allocations: 65.53 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4441, allocations: 8 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4441, allocations: 3.938 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.4441, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.4442, allocations: 4 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4442, allocations: 7.938 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.212e-05/0.4443, allocations: 7.906 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.4443, allocations: 4 kB / 1.071 GB, free: 7.195 MB / 0.8262 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 9.523e-05/0.4444, allocations: 123.5 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.4444, allocations: 7.906 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.4445, allocations: 15.81 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4445, allocations: 0 / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4445, allocations: 4 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.4445, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.4449, allocations: 470.8 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4449, allocations: 0 / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.4449, allocations: 4 kB / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4449, allocations: 3.984 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.4449, allocations: 0 / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4449, allocations: 0 / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4449, allocations: 0 / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.361e-05/0.445, allocations: 81.91 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.4451, allocations: 92.94 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4451, allocations: 4 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.4451, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.4452, allocations: 3.938 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.4452, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.676e-05/0.4453, allocations: 125.9 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4453, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001911/0.4455, allocations: 15.94 kB / 1.072 GB, free: 6.148 MB / 0.8262 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.0001261/0.4456, allocations: 95.25 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.883e-05/0.4457, allocations: 19.98 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4457, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.048e-05/0.4457, allocations: 7.938 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.4459, allocations: 20.58 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.4462, allocations: 184.8 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4465, allocations: 0.6926 MB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.4466, allocations: 12.42 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.4466, allocations: 11.44 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4466, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of Templates: time 0.002627/0.4492, allocations: 436.6 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches