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.001101/0.001101, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 177.3 kB / 16.92 MB, free: 6.648 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: 223.3 MB / 241 MB, free: 5.289 MB / 190.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.53/2.53, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003762, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7546/0.755, allocations: 142.4 MB / 0.9557 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0008054/0.7559, allocations: 0.5455 MB / 0.9562 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.846e-05/0.756, allocations: 33.66 kB / 0.9563 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.756, allocations: 1.094 kB / 0.9563 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.7561, allocations: 3.938 kB / 0.9563 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.7561, allocations: 13 kB / 0.9563 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.97e-05/0.7562, allocations: 15.95 kB / 0.9563 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.7563, allocations: 57.75 kB / 0.9564 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.7564, allocations: 39.47 kB / 0.9564 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.7565, allocations: 14.16 kB / 0.9564 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.915e-05/0.7565, allocations: 22.95 kB / 0.9564 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.7565, allocations: 2.562 kB / 0.9564 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-06/0.7565, allocations: 1.406 kB / 0.9564 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.7566, allocations: 14.67 kB / 0.9565 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.7566, allocations: 54.84 kB / 0.9565 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.345e-05/0.7567, allocations: 47.36 kB / 0.9566 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7567, allocations: 1.156 kB / 0.9566 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7567, allocations: 3.938 kB / 0.9566 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7567, allocations: 0 / 0.9566 GB, free: 7.09 MB / 0.7169 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.0003006/0.757, allocations: 361.9 kB / 0.9569 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7571, allocations: 8.875 kB / 0.9569 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.7571, allocations: 13.41 kB / 0.9569 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.7573, allocations: 194.9 kB / 0.9571 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.7573, allocations: 10.84 kB / 0.9571 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.7573, allocations: 9.406 kB / 0.9571 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.7574, allocations: 94.11 kB / 0.9572 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7575, allocations: 192 / 0.9572 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.7575, allocations: 5.188 kB / 0.9572 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.7575, allocations: 1.25 kB / 0.9572 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.7576, allocations: 36.08 kB / 0.9573 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.758, allocations: 446 kB / 0.9577 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.499e-05/0.7581, allocations: 36.53 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.7581, allocations: 28.31 kB / 0.9577 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.7581, allocations: 0 / 0.9577 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.124e-05/0.7581, allocations: 31.84 kB / 0.9578 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.7582, allocations: 5.453 kB / 0.9578 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001596/0.7583, allocations: 57.53 kB / 0.9578 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.7584, allocations: 78.14 kB / 0.9579 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.7585, allocations: 164.2 kB / 0.9581 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.7585, allocations: 30.73 kB / 0.9581 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.7585, allocations: 104.5 kB / 0.9582 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.7586, allocations: 9.031 kB / 0.9582 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.7586, allocations: 11.09 kB / 0.9582 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.7586, allocations: 321 kB / 0.9585 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.7587, allocations: 2.219 kB / 0.9585 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.7587, allocations: 19.06 kB / 0.9585 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.7587, allocations: 30.16 kB / 0.9586 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7587, allocations: 1.125 kB / 0.9586 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.335e-05/0.7588, allocations: 59.12 kB / 0.9586 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7588, allocations: 6.469 kB / 0.9586 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.7588, allocations: 8.812 kB / 0.9586 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.7589, allocations: 0.9375 kB / 0.9586 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.7589, allocations: 6.25 kB / 0.9587 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.7589, allocations: 3.984 kB / 0.9587 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.759, allocations: 10.06 kB / 0.9587 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.759, allocations: 1.156 kB / 0.9587 GB, free: 4.93 MB / 0.7169 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 5.227e-05/0.759, allocations: 113.7 kB / 0.9588 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.7591, allocations: 8.125 kB / 0.9588 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.7591, allocations: 14.53 kB / 0.9588 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.7591, allocations: 4.906 kB / 0.9588 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7591, allocations: 1.438 kB / 0.9588 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.7591, allocations: 0 / 0.9588 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.7594, allocations: 478.3 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7594, allocations: 1.188 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.7595, allocations: 2.156 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7595, allocations: 0.8125 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.7595, allocations: 1 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7595, allocations: 1.188 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7595, allocations: 0 / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.857e-05/0.7596, allocations: 91.08 kB / 0.9594 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.7596, allocations: 88.14 kB / 0.9594 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.7596, allocations: 4.906 kB / 0.9594 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.7596, allocations: 0.9375 kB / 0.9594 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.7597, allocations: 1.031 kB / 0.9594 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.7597, allocations: 5.172 kB / 0.9594 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.032e-05/0.7598, allocations: 123.9 kB / 0.9596 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7598, allocations: 0 / 0.9596 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001822/0.7599, allocations: 6.75 kB / 0.9596 GB, free: 3.98 MB / 0.7169 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.0001005/0.76, allocations: 101.2 kB / 0.9597 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.552e-05/0.7601, allocations: 18.44 kB / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7601, allocations: 0 / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.7602, allocations: 4.031 kB / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.7603, allocations: 15.62 kB / 0.9597 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.7606, allocations: 210.9 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.7607, allocations: 0.6952 MB / 0.9606 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.7608, allocations: 15 kB / 0.9606 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7608, allocations: 0 / 0.9606 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of Templates: time 0.002127/0.7629, allocations: 0.8473 MB / 0.9614 GB, free: 2.508 MB / 0.7169 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 -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