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.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.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.0009225/0.0009225, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007227/0.007227, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.513/1.513, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.894/2.894, allocations: 462.6 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 11.53 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3676, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001036/0.3687, allocations: 440.4 kB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009106/0.3696, allocations: 0.7923 MB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.3696, allocations: 0 / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.3697, allocations: 7.938 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.3698, allocations: 7.922 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.081e-05/0.3699, allocations: 15.98 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.82e-05/0.3699, allocations: 39.86 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3701, allocations: 11.98 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.3701, allocations: 11.98 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.3702, allocations: 23.86 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3702, allocations: 0 / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.3702, allocations: 8 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.3703, allocations: 4 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.3703, allocations: 41.62 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.878e-05/0.3704, allocations: 39.8 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3704, allocations: 0 / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3704, allocations: 4 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3704, allocations: 0 / 1.06 GB, free: 4.004 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.0005478/0.371, allocations: 377 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.371, allocations: 11.97 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.3711, allocations: 0.9375 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.3712, allocations: 176.2 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.3712, allocations: 384 / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3713, allocations: 4.375 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3715, allocations: 82.2 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3716, allocations: 4.188 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3716, allocations: 3.938 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3716, allocations: 0 / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.3719, allocations: 87.92 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.3723, allocations: 264.9 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3725, allocations: 70.47 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.3727, allocations: 56.91 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.3728, allocations: 0 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3728, allocations: 30.56 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3728, allocations: 0 / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006017/0.3734, allocations: 173.6 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.3734, allocations: 55.39 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.3735, allocations: 105.9 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.3736, allocations: 25.7 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.3736, allocations: 92.12 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.3736, allocations: 3.906 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.3737, allocations: 13.72 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3738, allocations: 318.8 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.374, allocations: 43.95 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3741, allocations: 35.97 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.3745, allocations: 92.78 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3745, allocations: 3.938 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003915/0.3749, allocations: 129.5 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.3749, allocations: 4 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3749, allocations: 3.938 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3749, allocations: 0 / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3751, allocations: 31.97 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3751, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.504e-05/0.3752, allocations: 15.98 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3752, allocations: 0 / 1.062 GB, free: 1.508 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.3753, allocations: 119.3 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.3754, allocations: 0 / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.3754, allocations: 15.89 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3754, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3755, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3755, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3757, allocations: 177.5 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3757, allocations: 0 / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3758, allocations: 19.98 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3758, allocations: 0 / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3758, allocations: 4 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.3758, allocations: 7.922 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3758, allocations: 0 / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.3763, allocations: 219.3 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.3763, allocations: 85.05 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3763, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3765, allocations: 19.98 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.3765, allocations: 3.984 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3765, allocations: 4 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.582e-05/0.3766, allocations: 91.56 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3766, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000215/0.3768, allocations: 8 kB / 1.063 GB, free: 0.6523 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 (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.0001902/0.377, allocations: 99.25 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.3774, allocations: 95.86 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3774, allocations: 4 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.3776, allocations: 39.97 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3779, allocations: 11.92 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.3783, allocations: 148.4 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3786, allocations: 0.6809 MB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.3786, allocations: 384 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.3787, allocations: 7.438 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3787, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.00254/0.3812, allocations: 0.5358 MB / 1.065 GB, free: 14.98 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