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.001434/0.001434, allocations: 92.7 kB / 19.44 MB, free: 328 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.001587/0.001587, allocations: 161.3 kB / 22.75 MB, free: 1.66 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 1.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.281/3.281, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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 1.573e-06/1.573e-06, allocations: 0 / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.786e-05, allocations: 5.266 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003783/0.003811, allocations: 1.982 MB / 0.8795 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002644/0.006456, allocations: 1.282 MB / 0.8808 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.006587, allocations: 0 / 0.8808 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004704/0.007058, allocations: 172.3 kB / 0.881 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.007618, allocations: 200.5 kB / 0.8812 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.008051, allocations: 169.3 kB / 0.8813 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.008597, allocations: 346.9 kB / 0.8816 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.008736, allocations: 32.86 kB / 0.8817 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.009068, allocations: 191.5 kB / 0.8819 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.009334, allocations: 145 kB / 0.882 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.009378, allocations: 16 kB / 0.882 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.009526, allocations: 55.97 kB / 0.8821 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.009667, allocations: 99.61 kB / 0.8822 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.009784, allocations: 76.8 kB / 0.8822 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.01033, allocations: 374.6 kB / 0.8826 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.01033, allocations: 0 / 0.8826 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.01033, allocations: 4.656 kB / 0.8826 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.01034, allocations: 0.6562 kB / 0.8826 GB, free: 1.352 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.001101/0.01144, allocations: 0.5738 MB / 0.8832 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.01148, allocations: 12.02 kB / 0.8832 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.01159, allocations: 44.7 kB / 0.8832 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.01217, allocations: 324.2 kB / 0.8835 GB, free: 364 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.01221, allocations: 8.125 kB / 0.8835 GB, free: 356 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.01224, allocations: 8 kB / 0.8835 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.01252, allocations: 105.6 kB / 0.8836 GB, free: 236 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.01253, allocations: 0 / 0.8836 GB, free: 236 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.01255, allocations: 11.98 kB / 0.8836 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.01255, allocations: 1.625 kB / 0.8836 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.01276, allocations: 67.95 kB / 0.8837 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.01376, allocations: 420.1 kB / 0.8841 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.0142, allocations: 139.7 kB / 0.8842 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.01435, allocations: 49.89 kB / 0.8843 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.01438, allocations: 3.938 kB / 0.8843 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.01469, allocations: 120.9 kB / 0.8844 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.01469, allocations: 0 / 0.8844 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0007034/0.0154, allocations: 235.9 kB / 0.8846 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.01545, allocations: 59.33 kB / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.01625, allocations: 0.5327 MB / 0.8852 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.01629, allocations: 29.7 kB / 0.8852 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.01646, allocations: 176.5 kB / 0.8854 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.0165, allocations: 31.73 kB / 0.8854 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.01663, allocations: 73.92 kB / 0.8855 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.01683, allocations: 352.7 kB / 0.8858 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.01708, allocations: 96.52 kB / 0.8859 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.01734, allocations: 139.6 kB / 0.8861 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.01774, allocations: 192.7 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01775, allocations: 1.656 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006897/0.01843, allocations: 345.3 kB / 0.8866 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01845, allocations: 4 kB / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01846, allocations: 0.5312 kB / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.01848, allocations: 5 kB / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.01872, allocations: 47.91 kB / 0.8866 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.01873, allocations: 11.94 kB / 0.8867 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.01888, allocations: 23.94 kB / 0.8867 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.01892, allocations: 12 kB / 0.8867 GB, free: 12.98 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.0002253/0.01914, allocations: 181.8 kB / 0.8869 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.01922, allocations: 39.75 kB / 0.8869 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.01971, allocations: 204.8 kB / 0.8871 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.01971, allocations: 4 kB / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.01972, allocations: 7.875 kB / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01972, allocations: 0 / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.02003, allocations: 237.1 kB / 0.8873 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.02004, allocations: 0 / 0.8873 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.02013, allocations: 19.92 kB / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.02013, allocations: 0 / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.02015, allocations: 7.984 kB / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.02015, allocations: 0 / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02015, allocations: 0 / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.02063, allocations: 240.1 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.0207, allocations: 31.81 kB / 0.8876 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.02076, allocations: 11.98 kB / 0.8876 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.02086, allocations: 8 kB / 0.8876 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.02096, allocations: 23.91 kB / 0.8877 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.02098, allocations: 15.92 kB / 0.8877 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004204/0.0214, allocations: 327.1 kB / 0.888 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.0214, allocations: 0 / 0.888 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003231/0.02172, allocations: 59.89 kB / 0.888 GB, free: 11.53 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.002023/0.02374, allocations: 463.1 kB / 0.8885 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005033/0.02425, allocations: 191.8 kB / 0.8887 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02425, allocations: 0 / 0.8887 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.02442, allocations: 59.91 kB / 0.8887 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.02494, allocations: 102.1 kB / 0.8888 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.02599, allocations: 0.5657 MB / 0.8894 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.02621, allocations: 195.9 kB / 0.8896 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.02637, allocations: 54.94 kB / 0.8896 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.02648, allocations: 44.48 kB / 0.8897 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.02648, allocations: 0 / 0.8897 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.01064/0.03712, allocations: 4.532 MB / 0.8941 GB, free: 5.555 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.579648476094007]