Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001364/0.001364, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.932/2.932, allocations: 462.6 MB / 0.736 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003723, allocations: 11.53 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3656, allocations: 159.6 MB / 1.058 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001082/0.3667, allocations: 428.6 kB / 1.058 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.3677, allocations: 0.8001 MB / 1.059 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.3677, allocations: 0 / 1.059 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.3678, allocations: 3.938 kB / 1.059 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.69e-05/0.3678, allocations: 7.922 kB / 1.059 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.658e-05/0.3679, allocations: 11.98 kB / 1.059 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.096e-05/0.368, allocations: 35.86 kB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3681, allocations: 11.98 kB / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.3682, allocations: 12 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.177e-05/0.3683, allocations: 19.91 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3683, allocations: 0 / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.3683, allocations: 4 kB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.3683, allocations: 7.938 kB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.3684, allocations: 29.7 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.731e-05/0.3684, allocations: 23.94 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3684, allocations: 0 / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3685, allocations: 0 / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.3685, allocations: 0 / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005778/0.369, allocations: 379.4 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3691, allocations: 12.03 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.3691, allocations: 0 / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3693, allocations: 171 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3693, allocations: 3.938 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3693, allocations: 7.953 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.3696, allocations: 81.64 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3696, allocations: 0 / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3696, allocations: 0 / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3696, allocations: 3.984 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.3699, allocations: 83.94 kB / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.3703, allocations: 280.8 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.3705, allocations: 74.47 kB / 1.06 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.3707, allocations: 48.91 kB / 1.06 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.3707, allocations: 4 kB / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.3707, allocations: 38.56 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3707, allocations: 0 / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005374/0.3713, allocations: 153.6 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3713, allocations: 55.34 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.3714, allocations: 109.8 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3714, allocations: 25.7 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.3715, allocations: 96.03 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3715, allocations: 7.906 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.3715, allocations: 0 / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3717, allocations: 318.8 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3718, allocations: 47.95 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.372, allocations: 39.97 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.3721, allocations: 47.89 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3721, allocations: 0 / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002986/0.3724, allocations: 117.6 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3724, allocations: 4 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3724, allocations: 4 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3725, allocations: 0 / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3726, allocations: 19.92 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3726, allocations: 8 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/0.3727, allocations: 15.98 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.3727, allocations: 0 / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.618e-05/0.3728, allocations: 117.8 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.3728, allocations: 7.906 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.3729, allocations: 3.906 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3729, allocations: 4 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3729, allocations: 4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3729, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3731, allocations: 169.6 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3731, allocations: 0 / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.499e-05/0.3732, allocations: 23.97 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.3732, allocations: 0 / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3732, allocations: 7.938 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3732, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3732, allocations: 4 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.3736, allocations: 215.8 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.3736, allocations: 96.92 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.3737, allocations: 0 / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3738, allocations: 15.98 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3738, allocations: 4 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3738, allocations: 4 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.3739, allocations: 87.27 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3739, allocations: 0 / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002169/0.3741, allocations: 8 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001782/0.3743, allocations: 101.5 kB / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.3746, allocations: 91.92 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3746, allocations: 0 / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3748, allocations: 55.89 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3751, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.3754, allocations: 136.6 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3757, allocations: 0.6887 MB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.3757, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.3758, allocations: 7.438 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.3758, allocations: 0 / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of Templates: time 0.002788/0.3786, allocations: 0.5205 MB / 1.064 GB, free: 15.1 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches