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.0007747/0.0007747, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001792, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000684/0.000684, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008929/0.001577, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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/1, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1072/1.107, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.821/1.821, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5439/2.365, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0.6562 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.91e-05, allocations: 7.281 kB / 0.7294 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001193/0.001212, allocations: 0.7551 MB / 0.7301 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007708/0.001982, allocations: 0.8523 MB / 0.731 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.002021, allocations: 2.75 kB / 0.731 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.002048, allocations: 3.938 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.916e-05/0.002098, allocations: 11.05 kB / 0.731 GB, free: 2.867 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.763e-05/0.002155, allocations: 7.984 kB / 0.731 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.002258, allocations: 51.47 kB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.002359, allocations: 4.641 kB / 0.731 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.002464, allocations: 34.5 kB / 0.7311 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.002512, allocations: 18.56 kB / 0.7311 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.002538, allocations: 4.547 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/0.002546, allocations: 4 kB / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.002562, allocations: 6.297 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.002588, allocations: 10.41 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.56e-05/0.002673, allocations: 26.97 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.897e-05/0.002692, allocations: 1.438 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002693, allocations: 0 / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.002712, allocations: 0 / 0.7311 GB, free: 2.723 MB / 0.698 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.0003869/0.003099, allocations: 253.2 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.003133, allocations: 8.031 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.00316, allocations: 9.625 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.617e-05/0.003256, allocations: 121.7 kB / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.003272, allocations: 6.094 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.003281, allocations: 4.375 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.003404, allocations: 67.53 kB / 0.7316 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.003412, allocations: 192 / 0.7316 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003419, allocations: 1.438 kB / 0.7316 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.003424, allocations: 384 / 0.7316 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.003448, allocations: 11.94 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.003654, allocations: 149.4 kB / 0.7317 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.172e-05/0.003716, allocations: 35.16 kB / 0.7318 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.003736, allocations: 13.5 kB / 0.7318 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.003745, allocations: 0.875 kB / 0.7318 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.003771, allocations: 30.56 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.003772, allocations: 0.7812 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001156/0.003887, allocations: 49.61 kB / 0.7319 GB, free: 1.883 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.003921, allocations: 56 kB / 0.7319 GB, free: 1.816 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.003982, allocations: 118.7 kB / 0.732 GB, free: 1.688 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.003991, allocations: 31.45 kB / 0.7321 GB, free: 1.652 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.004025, allocations: 84.09 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.004045, allocations: 7.953 kB / 0.7322 GB, free: 1.559 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.004075, allocations: 17.69 kB / 0.7322 GB, free: 1.535 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.004152, allocations: 314.8 kB / 0.7325 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.004163, allocations: 1 kB / 0.7325 GB, free: 1.219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/0.004172, allocations: 4 kB / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.004201, allocations: 16.84 kB / 0.7325 GB, free: 1.195 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004203, allocations: 0.5 kB / 0.7325 GB, free: 1.195 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.628e-05/0.00425, allocations: 42.75 kB / 0.7325 GB, free: 1.148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.004262, allocations: 6.812 kB / 0.7325 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.004267, allocations: 0 / 0.7325 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.004278, allocations: 4.781 kB / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.004356, allocations: 19.92 kB / 0.7326 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.004359, allocations: 0.5312 kB / 0.7326 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.00438, allocations: 4.938 kB / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.004384, allocations: 0 / 0.7326 GB, free: 1.117 MB / 0.698 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 4.918e-05/0.004433, allocations: 106.3 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.004448, allocations: 9.203 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.00447, allocations: 8 kB / 0.7327 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.004474, allocations: 3.938 kB / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.004476, allocations: 5.969 kB / 0.7327 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.004479, allocations: 0 / 0.7327 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.412e-05/0.004563, allocations: 69.88 kB / 0.7328 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004564, allocations: 0 / 0.7328 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.004589, allocations: 16 kB / 0.7328 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.004598, allocations: 9.656 kB / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.004599, allocations: 0 / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.004603, allocations: 0 / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004604, allocations: 0 / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.004607, allocations: 7.938 kB / 0.7328 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.304e-05/0.00469, allocations: 136.7 kB / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.004701, allocations: 4 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.004735, allocations: 11.92 kB / 0.7329 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.004772, allocations: 0.5312 kB / 0.7329 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.004775, allocations: 4.656 kB / 0.7329 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.689e-05/0.004792, allocations: 20.83 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004792, allocations: 0.5312 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000117/0.004909, allocations: 11.94 kB / 0.733 GB, free: 0.6562 MB / 0.698 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 8.676e-05/0.004996, allocations: 78.36 kB / 0.7331 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.426e-05/0.00507, allocations: 13.23 kB / 0.7331 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.005079, allocations: 3.984 kB / 0.7331 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.005102, allocations: 17.45 kB / 0.7331 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.005275, allocations: 9.781 kB / 0.7331 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.005719, allocations: 132.7 kB / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.00576, allocations: 61.12 kB / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.24e-05/0.005782, allocations: 0 / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.005835, allocations: 51.38 kB / 0.7333 GB, free: 248 kB / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/0.005835, allocations: 2.75 kB / 0.7333 GB, free: 248 kB / 0.698 GB Notification: Performance of Templates: time 0.002514/0.00835, allocations: 0.6886 MB / 0.734 GB, free: 15.58 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.925633057951927]