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.007416/0.007417, allocations: 101.6 kB / 15.73 MB, free: 6.043 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.001756/0.001757, allocations: 194.1 kB / 16.67 MB, free: 5.957 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.589/2.589, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.91 kB / 1.054 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.051, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001886/1.053, allocations: 0.6978 MB / 1.208 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009396/1.054, allocations: 0.8001 MB / 1.209 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/1.054, allocations: 4 kB / 1.209 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/1.054, allocations: 3.938 kB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/1.054, allocations: 7.922 kB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.024e-05/1.054, allocations: 11.98 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.644e-05/1.054, allocations: 43.91 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/1.054, allocations: 8 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/1.054, allocations: 23.86 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/1.054, allocations: 23.92 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/1.054, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/1.054, allocations: 4 kB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/1.054, allocations: 15.92 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/1.054, allocations: 11.94 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.306e-05/1.055, allocations: 43.84 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/1.055, allocations: 4 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.246e-06/1.055, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.652e-06/1.055, allocations: 3.938 kB / 1.209 GB, free: 12.07 MB / 0.9356 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.0005622/1.055, allocations: 369.2 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.055, allocations: 8.031 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/1.055, allocations: 8.844 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/1.055, allocations: 168.4 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/1.055, allocations: 384 / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/1.055, allocations: 4.375 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/1.056, allocations: 74.16 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/1.056, allocations: 192 / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/1.056, allocations: 7.922 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.056, allocations: 4 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/1.056, allocations: 59.92 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/1.056, allocations: 272.9 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/1.057, allocations: 58.42 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/1.057, allocations: 44.91 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/1.057, allocations: 0 / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/1.057, allocations: 38.5 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/1.057, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005362/1.057, allocations: 129.6 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/1.057, allocations: 51.41 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/1.058, allocations: 109.8 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/1.058, allocations: 29.7 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/1.058, allocations: 88.05 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/1.058, allocations: 11.84 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/1.058, allocations: 13.66 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.058, allocations: 322.8 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/1.058, allocations: 27.97 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/1.058, allocations: 35.95 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/1.058, allocations: 64.8 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.058, allocations: 3.938 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003267/1.059, allocations: 101.6 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.059, allocations: 4 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.059, allocations: 0 / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.059, allocations: 4 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/1.059, allocations: 15.92 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.059, allocations: 0 / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/1.059, allocations: 15.92 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/1.059, allocations: 0 / 1.212 GB, free: 9.746 MB / 0.9356 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 9.589e-05/1.059, allocations: 125.8 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/1.059, allocations: 3.906 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/1.059, allocations: 11.91 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.059, allocations: 4 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.059, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/1.059, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/1.059, allocations: 169.6 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.059, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.865e-05/1.059, allocations: 19.97 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.06, allocations: 4 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/1.06, allocations: 4 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.06, allocations: 0 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.06, allocations: 336 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/1.06, allocations: 195.3 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/1.06, allocations: 93 kB / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/1.06, allocations: 0 / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/1.06, allocations: 11.98 kB / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/1.06, allocations: 4 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/1.06, allocations: 0 / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.837e-05/1.06, allocations: 91.27 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.06, allocations: 3.938 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002179/1.06, allocations: 4 kB / 1.212 GB, free: 8.91 MB / 0.9356 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.000154/1.061, allocations: 103.2 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003528/1.061, allocations: 67.92 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.061, allocations: 0 / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/1.061, allocations: 39.89 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/1.061, allocations: 15.94 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/1.062, allocations: 121.5 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/1.062, allocations: 0.6846 MB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.571e-05/1.062, allocations: 4 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/1.062, allocations: 11.44 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/1.062, allocations: 4 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of Templates: time 0.002703/1.065, allocations: 0.6741 MB / 1.214 GB, free: 7.137 MB / 0.9356 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