Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001487/0.001487, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001165/0.001165, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 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.9742/0.9742, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.159/2.159, allocations: 429.5 MB / 0.6733 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8782 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/2.024e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002539/0.002559, allocations: 2.058 MB / 0.8802 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.004175, allocations: 1.312 MB / 0.8815 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.004273, allocations: 4.969 kB / 0.8815 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.004656, allocations: 164.4 kB / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.005035, allocations: 212.1 kB / 0.8818 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.00527, allocations: 168.4 kB / 0.882 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.005575, allocations: 343 kB / 0.8823 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.005705, allocations: 38.03 kB / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.005882, allocations: 187.5 kB / 0.8825 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.006049, allocations: 147.6 kB / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.006076, allocations: 17.09 kB / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.006178, allocations: 55.92 kB / 0.8828 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.652e-05/0.006264, allocations: 103.6 kB / 0.8828 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/0.006333, allocations: 72.42 kB / 0.8829 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.006605, allocations: 255 kB / 0.8832 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.006607, allocations: 1.562 kB / 0.8832 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.71e-07/0.006608, allocations: 0 / 0.8832 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.006612, allocations: 0 / 0.8832 GB, free: 1.266 MB / 0.8386 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.0006767/0.007289, allocations: 0.6794 MB / 0.8838 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.007322, allocations: 12.03 kB / 0.8838 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.007386, allocations: 40.66 kB / 0.8839 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.007709, allocations: 299 kB / 0.8842 GB, free: 188 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.007729, allocations: 9.062 kB / 0.8842 GB, free: 180 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.007749, allocations: 12 kB / 0.8842 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.007917, allocations: 98.08 kB / 0.8843 GB, free: 64 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.007927, allocations: 0 / 0.8843 GB, free: 64 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.00794, allocations: 7.984 kB / 0.8843 GB, free: 56 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.007948, allocations: 4 kB / 0.8843 GB, free: 52 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.089e-05/0.008019, allocations: 39.16 kB / 0.8843 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.008558, allocations: 459.3 kB / 0.8848 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.008723, allocations: 103.1 kB / 0.8849 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.008772, allocations: 27.67 kB / 0.8849 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.008789, allocations: 9.219 kB / 0.8849 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.008928, allocations: 97 kB / 0.885 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.123e-06/0.008929, allocations: 1.094 kB / 0.885 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002794/0.009208, allocations: 172.5 kB / 0.8852 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.009238, allocations: 67.34 kB / 0.8852 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.009562, allocations: 462.6 kB / 0.8857 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.009579, allocations: 29.7 kB / 0.8857 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.009694, allocations: 219.3 kB / 0.8859 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.009724, allocations: 35.73 kB / 0.8859 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.009799, allocations: 79.58 kB / 0.886 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.009936, allocations: 0.5235 MB / 0.8865 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.01001, allocations: 40.53 kB / 0.8866 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/0.0101, allocations: 84.14 kB / 0.8866 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.01023, allocations: 120.5 kB / 0.8868 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.01024, allocations: 4 kB / 0.8868 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002518/0.01049, allocations: 221.3 kB / 0.887 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.0105, allocations: 7.984 kB / 0.887 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01051, allocations: 4 kB / 0.887 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01052, allocations: 0 / 0.887 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.01066, allocations: 51.92 kB / 0.887 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.01067, allocations: 7.922 kB / 0.887 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.01073, allocations: 23.95 kB / 0.8871 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.01075, allocations: 8 kB / 0.8871 GB, free: 13.05 MB / 0.8542 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 9.392e-05/0.01084, allocations: 172.5 kB / 0.8872 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.01088, allocations: 39.77 kB / 0.8873 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.01108, allocations: 160.8 kB / 0.8874 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01108, allocations: 3.938 kB / 0.8874 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01109, allocations: 11.88 kB / 0.8874 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01109, allocations: 0 / 0.8874 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.01126, allocations: 248.5 kB / 0.8877 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01126, allocations: 0 / 0.8877 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.0113, allocations: 19.98 kB / 0.8877 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01131, allocations: 4 kB / 0.8877 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.01132, allocations: 0 / 0.8877 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01132, allocations: 0 / 0.8877 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01132, allocations: 0 / 0.8877 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.0115, allocations: 207.1 kB / 0.8879 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.01154, allocations: 47.64 kB / 0.8879 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.01157, allocations: 7.984 kB / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.114e-05/0.01161, allocations: 8 kB / 0.888 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.01166, allocations: 19.97 kB / 0.888 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.01168, allocations: 15.92 kB / 0.888 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001807/0.01186, allocations: 275.1 kB / 0.8883 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01186, allocations: 0 / 0.8883 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001903/0.01205, allocations: 55.98 kB / 0.8883 GB, free: 11.7 MB / 0.8542 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.000825/0.01287, allocations: 398.3 kB / 0.8887 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.01307, allocations: 126.5 kB / 0.8888 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01307, allocations: 0 / 0.8888 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.01314, allocations: 59.53 kB / 0.8889 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.01342, allocations: 108.9 kB / 0.889 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.01396, allocations: 479.9 kB / 0.8894 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.766e-05/0.01401, allocations: 112.5 kB / 0.8895 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.075e-05/0.0141, allocations: 46.94 kB / 0.8896 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.01416, allocations: 40.48 kB / 0.8896 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01416, allocations: 3.938 kB / 0.8896 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of Templates: time 0.007157/0.02132, allocations: 4.519 MB / 0.894 GB, free: 5.992 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.801708182319999]