Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001753/0.001753, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002024/0.002024, allocations: 189.7 kB / 22.23 MB, free: 5.133 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.513/1.513, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.89 kB / 1.062 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9672/0.9691, allocations: 160.8 MB / 1.219 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002364/0.9715, allocations: 0.7217 MB / 1.219 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.9726, allocations: 0.8019 MB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.9727, allocations: 1.062 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.9727, allocations: 3.938 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.286e-05/0.9728, allocations: 9.328 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.032e-05/0.9728, allocations: 13.2 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.9729, allocations: 45.38 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.9731, allocations: 15.52 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.246e-05/0.9732, allocations: 14.53 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.9732, allocations: 25.09 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.9732, allocations: 3.812 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.9732, allocations: 3.594 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.9733, allocations: 7.938 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.9733, allocations: 19.83 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.9734, allocations: 43.3 kB / 1.22 GB, free: 2.332 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9734, allocations: 0 / 1.22 GB, free: 2.332 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9734, allocations: 1.344 kB / 1.22 GB, free: 2.332 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.9734, allocations: 3.938 kB / 1.22 GB, free: 2.328 MB / 0.92 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.0006399/0.9741, allocations: 366.1 kB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.9741, allocations: 9 kB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.9742, allocations: 7.453 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.9743, allocations: 170.7 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.9744, allocations: 5.75 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.9744, allocations: 1.75 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.9747, allocations: 71.66 kB / 1.221 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.9747, allocations: 192 / 1.221 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.9747, allocations: 3.938 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.9747, allocations: 1.406 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.975, allocations: 62.7 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.9754, allocations: 271.5 kB / 1.221 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.9756, allocations: 59.81 kB / 1.221 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.9758, allocations: 37.39 kB / 1.221 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.9758, allocations: 0 / 1.221 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.9759, allocations: 39.66 kB / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.9759, allocations: 0 / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005467/0.9764, allocations: 129.5 kB / 1.221 GB, free: 1.156 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.9765, allocations: 52.47 kB / 1.221 GB, free: 1.094 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.9766, allocations: 111.6 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.9766, allocations: 25.7 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.9767, allocations: 86.52 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.9767, allocations: 20.89 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.9767, allocations: 17.06 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.9769, allocations: 311.9 kB / 1.222 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.977, allocations: 29.47 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.9772, allocations: 37.48 kB / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.9774, allocations: 66.72 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.9774, allocations: 5.031 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003312/0.9778, allocations: 109 kB / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.9778, allocations: 4.844 kB / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.9778, allocations: 1.062 kB / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.9778, allocations: 0 / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.9779, allocations: 14.2 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.9779, allocations: 0.8438 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.338e-05/0.978, allocations: 18.12 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.978, allocations: 5.312 kB / 1.222 GB, free: 360 kB / 0.92 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.000102/0.9781, allocations: 124.4 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.9782, allocations: 5.234 kB / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.9782, allocations: 9.312 kB / 1.222 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.9782, allocations: 1.188 kB / 1.222 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9782, allocations: 0 / 1.222 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.9782, allocations: 0 / 1.222 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.9784, allocations: 169.5 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9784, allocations: 0 / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.9785, allocations: 22.98 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.9785, allocations: 0 / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.9786, allocations: 1.219 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9786, allocations: 3.938 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9786, allocations: 1.188 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.9789, allocations: 195.6 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.979, allocations: 82.09 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.979, allocations: 0.875 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.9791, allocations: 14.67 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.9791, allocations: 5.328 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.9791, allocations: 1.312 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.389e-05/0.9792, allocations: 90.03 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.9792, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002172/0.9794, allocations: 5.969 kB / 1.223 GB, free: 15.62 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.0001512/0.9796, allocations: 101.2 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.9799, allocations: 69.83 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9799, allocations: 1.125 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.98, allocations: 35.78 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.9804, allocations: 17.75 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.9808, allocations: 129.6 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.9811, allocations: 0.68 MB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.9811, allocations: 1.031 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.9812, allocations: 16.56 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of SimCode: time 8.22e-07/0.9812, allocations: 1.062 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of Templates: time 0.003843/0.985, allocations: 0.6982 MB / 1.225 GB, free: 14.27 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.307985171675682]