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.001052/0.001052, allocations: 93.06 kB / 19.65 MB, free: 280 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.001639/0.001639, allocations: 173 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.968/0.968, 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.058/2.058, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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 4.689e-06/4.689e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.309e-05/4.778e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004644/0.004692, allocations: 2.057 MB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.007474, allocations: 1.316 MB / 0.8815 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.007742, allocations: 4.438 kB / 0.8815 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000732/0.008474, allocations: 157.3 kB / 0.8816 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0009219/0.009396, allocations: 224.2 kB / 0.8819 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.01009, allocations: 163.5 kB / 0.882 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007133/0.0108, allocations: 347 kB / 0.8823 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.01102, allocations: 33.95 kB / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.01233, allocations: 276.5 kB / 0.8826 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.01265, allocations: 136.3 kB / 0.8828 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.157e-05/0.0127, allocations: 17.59 kB / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.01295, allocations: 59.91 kB / 0.8828 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.01311, allocations: 99.61 kB / 0.8829 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.01323, allocations: 63.78 kB / 0.883 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006971/0.01393, allocations: 265.3 kB / 0.8832 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.01394, allocations: 0 / 0.8832 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.577e-06/0.01394, allocations: 0 / 0.8832 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.01396, allocations: 0 / 0.8832 GB, free: 1.18 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.001488/0.01544, allocations: 0.6779 MB / 0.8839 GB, free: 476 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.0155, allocations: 8.031 kB / 0.8839 GB, free: 468 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.01564, allocations: 46.72 kB / 0.884 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.01609, allocations: 305.5 kB / 0.8843 GB, free: 92 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.01612, allocations: 4.375 kB / 0.8843 GB, free: 88 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.01614, allocations: 11.94 kB / 0.8843 GB, free: 76 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.0164, allocations: 105.5 kB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01641, allocations: 0 / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.01642, allocations: 9.594 kB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.01644, allocations: 0 / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.01652, allocations: 27.97 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.01732, allocations: 464.4 kB / 0.8848 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.01754, allocations: 99.27 kB / 0.8849 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.0176, allocations: 35.61 kB / 0.885 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.01762, allocations: 4 kB / 0.885 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.01779, allocations: 96.94 kB / 0.8851 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.01779, allocations: 0 / 0.8851 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0003781/0.01817, allocations: 173.2 kB / 0.8852 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.01822, allocations: 55.41 kB / 0.8853 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.01861, allocations: 466.5 kB / 0.8857 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.01863, allocations: 29.7 kB / 0.8858 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.01877, allocations: 231.3 kB / 0.886 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.01881, allocations: 39.73 kB / 0.886 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.196e-05/0.0189, allocations: 79.52 kB / 0.8861 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.0191, allocations: 0.5235 MB / 0.8866 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.01918, allocations: 40.53 kB / 0.8866 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.01929, allocations: 84.14 kB / 0.8867 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.01944, allocations: 112.5 kB / 0.8868 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01944, allocations: 4 kB / 0.8868 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002819/0.01973, allocations: 225.3 kB / 0.8871 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01974, allocations: 4 kB / 0.8871 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01975, allocations: 4 kB / 0.8871 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.01977, allocations: 0 / 0.8871 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.01993, allocations: 51.97 kB / 0.8871 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.01994, allocations: 7.875 kB / 0.8871 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.02005, allocations: 19.89 kB / 0.8871 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.02007, allocations: 12.05 kB / 0.8871 GB, free: 12.96 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 0.0001312/0.02021, allocations: 172.5 kB / 0.8873 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.02024, allocations: 43.7 kB / 0.8874 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.0205, allocations: 160.8 kB / 0.8875 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.02051, allocations: 3.984 kB / 0.8875 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.02051, allocations: 4 kB / 0.8875 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.02052, allocations: 3.938 kB / 0.8875 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.0208, allocations: 252.4 kB / 0.8878 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.0208, allocations: 0 / 0.8878 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.02085, allocations: 19.98 kB / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.02086, allocations: 4 kB / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.02087, allocations: 3.984 kB / 0.8878 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.02087, allocations: 0 / 0.8878 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.02088, allocations: 3.938 kB / 0.8878 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.0211, allocations: 200 kB / 0.888 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.02114, allocations: 43.75 kB / 0.888 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.02118, allocations: 4 kB / 0.888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.02122, allocations: 7.984 kB / 0.888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.02129, allocations: 23.97 kB / 0.8881 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.0213, allocations: 8 kB / 0.8881 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002076/0.02151, allocations: 283 kB / 0.8883 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02151, allocations: 0 / 0.8883 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002198/0.02173, allocations: 55.94 kB / 0.8884 GB, free: 11.61 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.001094/0.02282, allocations: 401.6 kB / 0.8888 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.02307, allocations: 122 kB / 0.8889 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02307, allocations: 0 / 0.8889 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.02315, allocations: 55.59 kB / 0.8889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.02346, allocations: 104.9 kB / 0.889 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.02409, allocations: 489 kB / 0.8895 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.199e-05/0.02415, allocations: 112.5 kB / 0.8896 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.32e-05/0.02425, allocations: 42.95 kB / 0.8897 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.02432, allocations: 40.48 kB / 0.8897 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.02432, allocations: 4 kB / 0.8897 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.007444/0.03177, allocations: 4.793 MB / 0.8944 GB, free: 5.637 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.444245828781277]