Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 221.6 kB / 23 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 0.4892 GB / 0.7951 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 69.8 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002568/0.3536, allocations: 0.6974 MB / 1.327 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.355, allocations: 0.8319 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.3551, allocations: 0 / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.3551, allocations: 3.938 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.025e-05/0.3552, allocations: 7.938 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.868e-05/0.3553, allocations: 19.97 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.3554, allocations: 43.8 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3555, allocations: 11.98 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.3556, allocations: 12 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.3556, allocations: 19.91 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3557, allocations: 7.938 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.3557, allocations: 4 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.3557, allocations: 4 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.3557, allocations: 15.92 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.3559, allocations: 47.8 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3559, allocations: 0 / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3559, allocations: 4 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3559, allocations: 0 / 1.328 GB, free: 136 kB / 1.014 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.0006676/0.3565, allocations: 282.2 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3566, allocations: 12.03 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3566, allocations: 0.9375 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3568, allocations: 122.4 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3568, allocations: 12.31 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3568, allocations: 384 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.3571, allocations: 70.22 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3571, allocations: 4.172 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3572, allocations: 7.875 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3572, allocations: 4 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.3575, allocations: 63.92 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.3579, allocations: 204.6 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.3582, allocations: 54.53 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.3585, allocations: 44.86 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3585, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3585, allocations: 30.56 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.3585, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0008533/0.3594, allocations: 137.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.3594, allocations: 51.41 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3596, allocations: 109.8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.3596, allocations: 29.7 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.3597, allocations: 80.14 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.3597, allocations: 19.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.3597, allocations: 9.719 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.3599, allocations: 322.8 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.3601, allocations: 27.95 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.3604, allocations: 31.97 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.3608, allocations: 64.78 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3608, allocations: 4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005169/0.3613, allocations: 109.5 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3613, allocations: 10.19 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3613, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3613, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3615, allocations: 11.98 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3615, allocations: 3.984 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.3615, allocations: 19.98 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3616, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 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.0001147/0.3617, allocations: 109.8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.3617, allocations: 15.89 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.3618, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3618, allocations: 3.938 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3618, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3618, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.362, allocations: 113.2 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.362, allocations: 4.328 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.3621, allocations: 27.91 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3621, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3622, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3622, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3622, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.3627, allocations: 199.3 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.3628, allocations: 15.88 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.3628, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3629, allocations: 15.98 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.363, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.363, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.594e-05/0.3631, allocations: 87.27 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3631, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004088/0.3635, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 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.0001823/0.3637, allocations: 99.23 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.3641, allocations: 71.86 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3641, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3642, allocations: 35.95 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.3647, allocations: 11.94 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.3652, allocations: 151.3 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.33e-05/0.3653, allocations: 63.34 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.3653, allocations: 15.44 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3653, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Templates: time 0.003078/0.3684, allocations: 0.7523 MB / 1.332 GB, free: 12.13 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.0196313560009]