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.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.002087/0.002087, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.00158/0.00158, allocations: 170.1 kB / 22.46 MB, free: 5.359 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.578/1.578, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.854/2.854, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.595e-06/2.595e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.568e-05, allocations: 3.969 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001859/0.001895, allocations: 0.699 MB / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.003062, allocations: 0.8315 MB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.003103, allocations: 0 / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.003136, allocations: 3.938 kB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.683e-05/0.003203, allocations: 11.88 kB / 0.9525 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.168e-05/0.003265, allocations: 11.98 kB / 0.9526 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003368, allocations: 47.84 kB / 0.9526 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.003479, allocations: 7.938 kB / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.003567, allocations: 31.91 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.003611, allocations: 11.98 kB / 0.9527 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.003637, allocations: 4 kB / 0.9527 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.003647, allocations: 4 kB / 0.9527 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.003666, allocations: 7.984 kB / 0.9527 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.003696, allocations: 15.92 kB / 0.9527 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.662e-05/0.003793, allocations: 31.94 kB / 0.9527 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.003797, allocations: 8 kB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003798, allocations: 4 kB / 0.9527 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.003804, allocations: 0 / 0.9527 GB, free: 9.812 MB / 0.8575 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.0005766/0.00438, allocations: 286.2 kB / 0.953 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.004417, allocations: 11.97 kB / 0.953 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.004446, allocations: 4.938 kB / 0.953 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.004564, allocations: 109.7 kB / 0.9531 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.004576, allocations: 4.375 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.004592, allocations: 4.375 kB / 0.9531 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.004861, allocations: 78.14 kB / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.004872, allocations: 192 / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.004886, allocations: 4.375 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.004891, allocations: 384 / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.005202, allocations: 67.86 kB / 0.9533 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.005566, allocations: 204.6 kB / 0.9535 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.005789, allocations: 58.48 kB / 0.9535 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.005959, allocations: 44.91 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.005973, allocations: 0 / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.006005, allocations: 30.56 kB / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 3.086e-06/0.006008, allocations: 7.922 kB / 0.9536 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006166/0.006624, allocations: 137.5 kB / 0.9537 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.006671, allocations: 55.41 kB / 0.9538 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.006781, allocations: 109.8 kB / 0.9539 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.0068, allocations: 25.7 kB / 0.9539 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.00687, allocations: 88.14 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.006904, allocations: 11.84 kB / 0.954 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.006947, allocations: 17.72 kB / 0.954 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.007102, allocations: 318.8 kB / 0.9543 GB, free: 8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.007262, allocations: 27.97 kB / 0.9544 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.007409, allocations: 35.95 kB / 0.9544 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.007696, allocations: 64.8 kB / 0.9545 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007698, allocations: 4 kB / 0.9545 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003621/0.00806, allocations: 97.61 kB / 0.9546 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.008078, allocations: 7.938 kB / 0.9546 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.008084, allocations: 0 / 0.9546 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.008101, allocations: 0 / 0.9546 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.008242, allocations: 19.92 kB / 0.9546 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.008248, allocations: 0 / 0.9546 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.008334, allocations: 19.98 kB / 0.9546 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.008343, allocations: 4 kB / 0.9546 GB, free: 7.715 MB / 0.8575 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.0001032/0.008446, allocations: 114.6 kB / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.008475, allocations: 7.953 kB / 0.9547 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.008506, allocations: 11.94 kB / 0.9547 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008509, allocations: 0 / 0.9547 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.008514, allocations: 0 / 0.9547 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.008519, allocations: 4 kB / 0.9547 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.008674, allocations: 105.3 kB / 0.9548 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008675, allocations: 4 kB / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-05/0.008772, allocations: 15.98 kB / 0.9549 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008774, allocations: 0 / 0.9549 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.008783, allocations: 0 / 0.9549 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.008789, allocations: 8.234 kB / 0.9549 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00879, allocations: 0 / 0.9549 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.009189, allocations: 195.4 kB / 0.955 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.009199, allocations: 7.953 kB / 0.9551 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.009215, allocations: 4 kB / 0.9551 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.009324, allocations: 11.92 kB / 0.9551 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.009383, allocations: 7.984 kB / 0.9551 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.00939, allocations: 4 kB / 0.9551 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.912e-05/0.009449, allocations: 95.25 kB / 0.9552 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.009449, allocations: 0 / 0.9552 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000222/0.009671, allocations: 7.938 kB / 0.9552 GB, free: 7.062 MB / 0.8575 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.0001601/0.009831, allocations: 103.2 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.01019, allocations: 64.3 kB / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01019, allocations: 0 / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.01035, allocations: 35.91 kB / 0.9554 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.0107, allocations: 11.98 kB / 0.9554 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.01109, allocations: 127 kB / 0.9555 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.283e-05/0.01117, allocations: 63.34 kB / 0.9556 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.0112, allocations: 7.984 kB / 0.9556 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.01124, allocations: 12.5 kB / 0.9556 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.01124, allocations: 0 / 0.9556 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of Templates: time 0.00335/0.01459, allocations: 0.7376 MB / 0.9563 GB, free: 5.863 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.21853020787239]