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.00189/0.00189, allocations: 85.48 kB / 19.44 MB, free: 344 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.002032/0.002032, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.425/3.425, allocations: 429.5 MB / 0.6729 GB, free: 4.035 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 3.257e-06/3.257e-06, allocations: 0 / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.329e-05/3.655e-05, allocations: 2.938 kB / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004762/0.004798, allocations: 2.018 MB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.007491, allocations: 1.296 MB / 0.8807 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.007624, allocations: 8.438 kB / 0.8807 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005586/0.008183, allocations: 165 kB / 0.8809 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005644/0.008747, allocations: 212.2 kB / 0.8811 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.009156, allocations: 159.5 kB / 0.8812 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.009628, allocations: 352 kB / 0.8816 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.009782, allocations: 32.92 kB / 0.8816 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.01008, allocations: 196.1 kB / 0.8818 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.01032, allocations: 137.2 kB / 0.8819 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.01037, allocations: 16 kB / 0.8819 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.01053, allocations: 63.89 kB / 0.882 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.01067, allocations: 107.6 kB / 0.8821 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.0108, allocations: 71.7 kB / 0.8822 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.01134, allocations: 377.6 kB / 0.8825 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01134, allocations: 0 / 0.8825 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01135, allocations: 0 / 0.8825 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.01135, allocations: 0 / 0.8825 GB, free: 1.504 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.001518/0.01287, allocations: 0.701 MB / 0.8832 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.01291, allocations: 8.031 kB / 0.8832 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.01302, allocations: 40.7 kB / 0.8832 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.01361, allocations: 304.6 kB / 0.8835 GB, free: 408 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.01365, allocations: 12.12 kB / 0.8835 GB, free: 396 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.01367, allocations: 8 kB / 0.8836 GB, free: 388 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.01392, allocations: 93.62 kB / 0.8836 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.01393, allocations: 0.625 kB / 0.8836 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.01395, allocations: 8.797 kB / 0.8837 GB, free: 280 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.01396, allocations: 4 kB / 0.8837 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.01413, allocations: 47.97 kB / 0.8837 GB, free: 228 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.01524, allocations: 0.5079 MB / 0.8842 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.01562, allocations: 119.2 kB / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.01574, allocations: 47.67 kB / 0.8844 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.01576, allocations: 0 / 0.8844 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.01603, allocations: 112.9 kB / 0.8845 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.01603, allocations: 0 / 0.8845 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0006047/0.01664, allocations: 205.3 kB / 0.8847 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.01671, allocations: 59.34 kB / 0.8847 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007312/0.01744, allocations: 0.5338 MB / 0.8852 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.01747, allocations: 37.7 kB / 0.8853 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.01772, allocations: 243.3 kB / 0.8855 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.01778, allocations: 43.73 kB / 0.8855 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.01792, allocations: 87.58 kB / 0.8856 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003475/0.01827, allocations: 0.5509 MB / 0.8862 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.01843, allocations: 64.53 kB / 0.8862 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.01865, allocations: 112.1 kB / 0.8863 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.01897, allocations: 161.2 kB / 0.8865 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01897, allocations: 4 kB / 0.8865 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000551/0.01952, allocations: 273.3 kB / 0.8868 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01954, allocations: 8 kB / 0.8868 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01954, allocations: 0 / 0.8868 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.01956, allocations: 0 / 0.8868 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.01979, allocations: 51.91 kB / 0.8868 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.0198, allocations: 3.938 kB / 0.8868 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.01993, allocations: 23.88 kB / 0.8868 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.01996, allocations: 12 kB / 0.8869 GB, free: 12.83 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.0001878/0.02015, allocations: 184.5 kB / 0.887 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.02022, allocations: 51.81 kB / 0.8871 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.02067, allocations: 176.8 kB / 0.8872 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.02067, allocations: 7.984 kB / 0.8873 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.02068, allocations: 3.938 kB / 0.8873 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.02068, allocations: 0 / 0.8873 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.02105, allocations: 292.4 kB / 0.8875 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.02105, allocations: 0 / 0.8875 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.02114, allocations: 19.92 kB / 0.8876 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.02114, allocations: 0 / 0.8876 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.02116, allocations: 8 kB / 0.8876 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.02116, allocations: 4 kB / 0.8876 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.02116, allocations: 0 / 0.8876 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.02158, allocations: 231 kB / 0.8878 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.02168, allocations: 43.75 kB / 0.8878 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.02172, allocations: 4 kB / 0.8878 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.02181, allocations: 4 kB / 0.8878 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.02189, allocations: 19.97 kB / 0.8879 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.02191, allocations: 11.92 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003778/0.02229, allocations: 323.1 kB / 0.8882 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02229, allocations: 0 / 0.8882 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003176/0.0226, allocations: 63.88 kB / 0.8882 GB, free: 11.34 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.002888/0.02549, allocations: 457.9 kB / 0.8887 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.026, allocations: 163.5 kB / 0.8888 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02601, allocations: 4 kB / 0.8888 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.02617, allocations: 67.59 kB / 0.8889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.02669, allocations: 98.64 kB / 0.889 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009489/0.02764, allocations: 0.4971 MB / 0.8895 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.02784, allocations: 183.8 kB / 0.8897 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.02799, allocations: 58.92 kB / 0.8897 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.02809, allocations: 40.48 kB / 0.8897 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.0281, allocations: 0 / 0.8897 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of Templates: time 0.01081/0.0389, allocations: 4.513 MB / 0.8942 GB, free: 5.477 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","/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.658246622071601]