Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 193.3 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00311/0.00311, allocations: 71.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8657/0.8688, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002175/0.871, allocations: 0.7083 MB / 1.275 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.8721, allocations: 0.804 MB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.8721, allocations: 0 / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.8722, allocations: 0 / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.584e-05/0.8723, allocations: 15.86 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.05e-05/0.8723, allocations: 11.98 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.047e-05/0.8724, allocations: 39.92 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.8725, allocations: 15.97 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.8726, allocations: 19.92 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.67e-05/0.8727, allocations: 19.92 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.8727, allocations: 4 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.8727, allocations: 4 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.8727, allocations: 11.88 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.8728, allocations: 15.92 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.8729, allocations: 46.48 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.8729, allocations: 3.938 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8729, allocations: 4 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.8729, allocations: 0 / 1.276 GB, free: 2.664 MB / 0.9669 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.0006313/0.8735, allocations: 363.3 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.8736, allocations: 8.031 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.8736, allocations: 8.891 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.8738, allocations: 172.3 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.8738, allocations: 384 / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.8738, allocations: 384 / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.8741, allocations: 78.2 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8741, allocations: 192 / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.8741, allocations: 3.938 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8741, allocations: 0 / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.8744, allocations: 63.88 kB / 1.276 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.8749, allocations: 268.9 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.8751, allocations: 62.47 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.8752, allocations: 40.91 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.8753, allocations: 4 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.8753, allocations: 30.56 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8753, allocations: 0 / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005771/0.8759, allocations: 125.5 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.8759, allocations: 55.41 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.876, allocations: 117.8 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.876, allocations: 25.7 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.8761, allocations: 88.12 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.8761, allocations: 15.84 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.8762, allocations: 9.719 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8763, allocations: 318.8 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.8765, allocations: 35.95 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.8766, allocations: 27.97 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.8769, allocations: 72.72 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.8769, allocations: 3.938 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003332/0.8772, allocations: 101.9 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8772, allocations: 4 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.8772, allocations: 0 / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8773, allocations: 4 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.8774, allocations: 19.91 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8774, allocations: 0 / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/0.8775, allocations: 19.94 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.8775, allocations: 3.938 kB / 1.278 GB, free: 336 kB / 0.9669 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.079e-05/0.8776, allocations: 118.3 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.8776, allocations: 0 / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.8776, allocations: 7.906 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.8776, allocations: 3.984 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8777, allocations: 0 / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8777, allocations: 3.938 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.8779, allocations: 173.6 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8779, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.878, allocations: 19.98 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.878, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.878, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.878, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.878, allocations: 3.984 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.8784, allocations: 199.4 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.8785, allocations: 77.11 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.8785, allocations: 4 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.8786, allocations: 7.984 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.8786, allocations: 11.98 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.8787, allocations: 0 / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.8787, allocations: 91.27 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8787, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002173/0.8789, allocations: 11.94 kB / 1.279 GB, free: 15.51 MB / 0.9825 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.0001732/0.8791, allocations: 99.25 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.8795, allocations: 63.92 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8795, allocations: 4 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.8796, allocations: 35.97 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.88, allocations: 9.953 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.8804, allocations: 146.3 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.8807, allocations: 0.6768 MB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.8807, allocations: 8 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.8808, allocations: 7.438 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8808, allocations: 3.938 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of Templates: time 0.003216/0.884, allocations: 0.6983 MB / 1.28 GB, free: 13.71 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.713270900771022]