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.001489/0.001489, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.00169/0.00169, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.518/1.518, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.949/2.949, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.655e-06/2.655e-06, allocations: 0 / 0.9814 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.351e-05, allocations: 5.234 kB / 0.9814 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003888/0.003922, allocations: 1.975 MB / 0.9834 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002604/0.006526, allocations: 1.278 MB / 0.9846 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.006636, allocations: 3.938 kB / 0.9846 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.007113, allocations: 175.2 kB / 0.9848 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.007609, allocations: 203.1 kB / 0.985 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.00798, allocations: 167.4 kB / 0.9851 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000489/0.008469, allocations: 343 kB / 0.9855 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.008639, allocations: 36.84 kB / 0.9855 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.008952, allocations: 191.5 kB / 0.9857 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.00921, allocations: 143.6 kB / 0.9858 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.009263, allocations: 20 kB / 0.9858 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.009419, allocations: 51.97 kB / 0.9859 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.00958, allocations: 103.6 kB / 0.986 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.00971, allocations: 75.64 kB / 0.9861 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.01024, allocations: 382.6 kB / 0.9864 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01024, allocations: 0 / 0.9864 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01024, allocations: 0 / 0.9864 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.537e-06/0.01025, allocations: 0 / 0.9864 GB, free: 5.82 MB / 0.8887 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.001037/0.01129, allocations: 0.5663 MB / 0.987 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.01133, allocations: 16.02 kB / 0.987 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.01142, allocations: 44.66 kB / 0.987 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.01195, allocations: 308.3 kB / 0.9873 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.01198, allocations: 16.03 kB / 0.9873 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.012, allocations: 4 kB / 0.9874 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.01227, allocations: 113.5 kB / 0.9875 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.01228, allocations: 0 / 0.9875 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.0123, allocations: 0 / 0.9875 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.0123, allocations: 4 kB / 0.9875 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.01249, allocations: 63.95 kB / 0.9875 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.01329, allocations: 440.1 kB / 0.9879 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.01368, allocations: 130.8 kB / 0.9881 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.0138, allocations: 52.83 kB / 0.9881 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.01382, allocations: 3.938 kB / 0.9881 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.01408, allocations: 115.3 kB / 0.9882 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.01408, allocations: 0 / 0.9882 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0006053/0.01469, allocations: 233.4 kB / 0.9885 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.01473, allocations: 59.34 kB / 0.9885 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007532/0.01549, allocations: 0.5327 MB / 0.989 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.01561, allocations: 33.7 kB / 0.9891 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.01576, allocations: 172.5 kB / 0.9892 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.0158, allocations: 31.75 kB / 0.9893 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.01593, allocations: 77.91 kB / 0.9893 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.01612, allocations: 346.8 kB / 0.9897 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.01634, allocations: 104.5 kB / 0.9898 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.01658, allocations: 144.2 kB / 0.9899 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.01695, allocations: 179 kB / 0.9901 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01695, allocations: 0 / 0.9901 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006054/0.01755, allocations: 334.3 kB / 0.9904 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01757, allocations: 8 kB / 0.9904 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01758, allocations: 0 / 0.9904 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.01759, allocations: 3.938 kB / 0.9904 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.01782, allocations: 52.03 kB / 0.9905 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.01783, allocations: 11.88 kB / 0.9905 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.01797, allocations: 23.88 kB / 0.9905 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.01801, allocations: 8 kB / 0.9905 GB, free: 1.461 MB / 0.8887 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.0002071/0.01821, allocations: 181.8 kB / 0.9907 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.01826, allocations: 31.77 kB / 0.9907 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/0.01873, allocations: 208.7 kB / 0.9909 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01873, allocations: 3.938 kB / 0.9909 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.01874, allocations: 7.938 kB / 0.9909 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.01874, allocations: 3.984 kB / 0.9909 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.01901, allocations: 233.1 kB / 0.9911 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01901, allocations: 0 / 0.9911 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.01909, allocations: 15.98 kB / 0.9911 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.0191, allocations: 4 kB / 0.9912 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01911, allocations: 4 kB / 0.9912 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01911, allocations: 0 / 0.9912 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01912, allocations: 4 kB / 0.9912 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.01954, allocations: 235.9 kB / 0.9914 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.01962, allocations: 47.75 kB / 0.9914 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.01966, allocations: 0 / 0.9914 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.01977, allocations: 11.98 kB / 0.9914 GB, free: 436 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.01985, allocations: 19.97 kB / 0.9915 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.01987, allocations: 7.938 kB / 0.9915 GB, free: 408 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003756/0.02024, allocations: 327.1 kB / 0.9918 GB, free: 88 kB / 0.8887 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02024, allocations: 0 / 0.9918 GB, free: 88 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003094/0.02055, allocations: 63.92 kB / 0.9918 GB, free: 24 kB / 0.8887 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.001749/0.0223, allocations: 455.5 kB / 0.9923 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.02276, allocations: 195.8 kB / 0.9925 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02276, allocations: 0 / 0.9925 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.02293, allocations: 67.89 kB / 0.9925 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.02342, allocations: 91.84 kB / 0.9926 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.02439, allocations: 0.5541 MB / 0.9932 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.0246, allocations: 191.9 kB / 0.9933 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.02474, allocations: 58.94 kB / 0.9934 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.02484, allocations: 36.48 kB / 0.9934 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/0.02484, allocations: 4 kB / 0.9934 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.01015/0.03499, allocations: 4.493 MB / 0.9978 GB, free: 10.11 MB / 0.9044 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.454720050096512]