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.001681/0.001681, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.00204/0.00204, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002435/1.058, allocations: 0.7066 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001082/1.059, allocations: 0.8001 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/1.059, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/1.059, allocations: 3.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.678e-05/1.06, allocations: 3.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.56e-05/1.06, allocations: 11.98 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.308e-05/1.06, allocations: 51.83 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/1.06, allocations: 16 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/1.06, allocations: 19.92 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.832e-05/1.06, allocations: 15.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/1.06, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/1.06, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/1.06, allocations: 11.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/1.06, allocations: 19.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.984e-05/1.06, allocations: 39.86 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.06, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.696e-06/1.06, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.06, allocations: 3.938 kB / 1.21 GB, free: 11.91 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.0005414/1.061, allocations: 359.2 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.061, allocations: 8.031 kB / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/1.061, allocations: 8.844 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/1.061, allocations: 170.2 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/1.061, allocations: 4.375 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/1.061, allocations: 384 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/1.061, allocations: 74.16 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.061, allocations: 3.938 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/1.061, allocations: 7.984 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.061, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/1.062, allocations: 63.92 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/1.062, allocations: 272.8 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/1.062, allocations: 54.48 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/1.062, allocations: 44.91 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/1.062, allocations: 4 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/1.062, allocations: 30.56 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/1.062, allocations: 0 / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000565/1.063, allocations: 125.6 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/1.063, allocations: 59.41 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/1.063, allocations: 109.8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/1.063, allocations: 25.7 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/1.063, allocations: 92.05 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/1.063, allocations: 11.84 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/1.063, allocations: 17.7 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.063, allocations: 314.8 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/1.064, allocations: 31.97 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/1.064, allocations: 39.95 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/1.064, allocations: 64.78 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.064, allocations: 3.938 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003214/1.064, allocations: 101.6 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.064, allocations: 8 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.064, allocations: 3.938 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.064, allocations: 0 / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/1.065, allocations: 11.98 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.065, allocations: 0 / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/1.065, allocations: 19.92 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/1.065, allocations: 0 / 1.212 GB, free: 9.59 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 7.371e-05/1.065, allocations: 117.8 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/1.065, allocations: 3.906 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/1.065, allocations: 11.91 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/1.065, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.065, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/1.065, allocations: 77.11 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/1.065, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.065, allocations: 19.97 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/1.065, allocations: 11.94 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000411/1.065, allocations: 189.1 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003984/1.066, allocations: 270.7 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001512/1.066, allocations: 35.95 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.221e-05/1.066, allocations: 83.28 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of Backend: time 5.21e-07/1.066, allocations: 0 / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000511/1.067, allocations: 120.4 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005408/1.067, allocations: 0.5765 MB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of Templates: time 0.003101/1.07, allocations: 0.8464 MB / 1.214 GB, free: 7.141 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/jenkins1/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