Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.0009586/0.0009586, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001363/0.001363, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9896/0.9896, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.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.886/1.886, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 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.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.658e-05, allocations: 3.078 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003829/0.003855, allocations: 2.042 MB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.005549, allocations: 1.332 MB / 0.7633 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.00565, allocations: 3.938 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.006006, allocations: 166.9 kB / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.006395, allocations: 217.1 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.006682, allocations: 172.1 kB / 0.7639 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.006991, allocations: 335.7 kB / 0.7642 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.007112, allocations: 38.88 kB / 0.7642 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/0.007758, allocations: 252.2 kB / 0.7645 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.007922, allocations: 132.7 kB / 0.7646 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.007948, allocations: 16 kB / 0.7646 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.008051, allocations: 52.95 kB / 0.7646 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.06e-05/0.008141, allocations: 99.61 kB / 0.7647 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.008203, allocations: 63.77 kB / 0.7648 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.008486, allocations: 263.5 kB / 0.7651 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.008488, allocations: 1.781 kB / 0.7651 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.61e-07/0.008489, allocations: 0 / 0.7651 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.008493, allocations: 0 / 0.7651 GB, free: 1.523 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005663/0.009059, allocations: 0.5298 MB / 0.7656 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.009089, allocations: 9.25 kB / 0.7656 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.00914, allocations: 28.91 kB / 0.7656 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.009415, allocations: 275.9 kB / 0.7659 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.009434, allocations: 5.125 kB / 0.7659 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.009453, allocations: 15.94 kB / 0.7659 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.009597, allocations: 99.95 kB / 0.766 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.009604, allocations: 0.75 kB / 0.766 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.009613, allocations: 0 / 0.766 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.009619, allocations: 5.594 kB / 0.766 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.327e-05/0.009663, allocations: 23.92 kB / 0.766 GB, free: 500 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.01006, allocations: 250.3 kB / 0.7663 GB, free: 232 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.0102, allocations: 125.2 kB / 0.7664 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.01023, allocations: 33.34 kB / 0.7664 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.01025, allocations: 5.031 kB / 0.7664 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.01036, allocations: 93.28 kB / 0.7665 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.01036, allocations: 1.156 kB / 0.7665 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0001605/0.01053, allocations: 101.6 kB / 0.7666 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.01056, allocations: 56.94 kB / 0.7667 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.01079, allocations: 366.1 kB / 0.767 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.01081, allocations: 29.7 kB / 0.767 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.01087, allocations: 133.5 kB / 0.7672 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.0109, allocations: 47.67 kB / 0.7672 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.209e-05/0.01097, allocations: 64.69 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.01106, allocations: 354.7 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.01111, allocations: 31.38 kB / 0.7676 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/0.01116, allocations: 55.66 kB / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.01126, allocations: 110.1 kB / 0.7678 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01127, allocations: 0 / 0.7678 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001643/0.01143, allocations: 149.4 kB / 0.7679 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01144, allocations: 8 kB / 0.7679 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.01145, allocations: 0.9375 kB / 0.7679 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.01146, allocations: 4 kB / 0.7679 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.01158, allocations: 48.62 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01159, allocations: 0 / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.01165, allocations: 16.39 kB / 0.768 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.01167, allocations: 22.8 kB / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 8.615e-05/0.01176, allocations: 129.3 kB / 0.7682 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.01178, allocations: 23.91 kB / 0.7682 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.01192, allocations: 107 kB / 0.7683 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01193, allocations: 7.984 kB / 0.7683 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01193, allocations: 0 / 0.7683 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01193, allocations: 2.438 kB / 0.7683 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.01206, allocations: 157.6 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01206, allocations: 0 / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.0121, allocations: 15.92 kB / 0.7685 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01211, allocations: 4 kB / 0.7685 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.01211, allocations: 4 kB / 0.7685 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01212, allocations: 1.438 kB / 0.7685 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01212, allocations: 0 / 0.7685 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.01223, allocations: 130.6 kB / 0.7686 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.01226, allocations: 46.77 kB / 0.7686 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.01229, allocations: 7.984 kB / 0.7686 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.01233, allocations: 4 kB / 0.7686 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.01237, allocations: 19.97 kB / 0.7687 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.01238, allocations: 4 kB / 0.7687 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001015/0.01248, allocations: 140.7 kB / 0.7688 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01248, allocations: 0 / 0.7688 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001641/0.01265, allocations: 55.94 kB / 0.7689 GB, free: 13.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001158/0.0138, allocations: 0.5233 MB / 0.7694 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.01397, allocations: 108.2 kB / 0.7695 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.01397, allocations: 4 kB / 0.7695 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.563e-05/0.01403, allocations: 47.72 kB / 0.7695 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.01425, allocations: 95.45 kB / 0.7696 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.01474, allocations: 478.8 kB / 0.7701 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.0148, allocations: 104.6 kB / 0.7702 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.686e-05/0.01489, allocations: 60.83 kB / 0.7702 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.01502, allocations: 107.3 kB / 0.7703 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of SimCode: time 7.11e-07/0.01502, allocations: 0.5938 kB / 0.7703 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.006643/0.02166, allocations: 4.859 MB / 0.7751 GB, free: 7.473 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.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: 5.1601902223192155]