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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 225.6 MB / 249.9 MB, free: 3.223 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 489.7 MB / 0.7761 GB, free: 2.402 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=507,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=507,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 0.002075/0.002075, allocations: 63.91 kB / 1.127 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8164, allocations: 172.1 MB / 1.295 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003761/0.8202, allocations: 2.013 MB / 1.297 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.8223, allocations: 1.206 MB / 1.298 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.8225, allocations: 6.625 kB / 1.298 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.8229, allocations: 161.1 kB / 1.298 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.8233, allocations: 157.6 kB / 1.298 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.8238, allocations: 234.3 kB / 1.299 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.8242, allocations: 321.2 kB / 1.299 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.8243, allocations: 30.42 kB / 1.299 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.8246, allocations: 159 kB / 1.299 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.8248, allocations: 157.8 kB / 1.299 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.8248, allocations: 14.84 kB / 1.299 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.825, allocations: 60.25 kB / 1.299 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.8251, allocations: 90.64 kB / 1.299 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.8252, allocations: 123.8 kB / 1.299 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004613/0.8257, allocations: 367.7 kB / 1.3 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8257, allocations: 4 kB / 1.3 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8257, allocations: 0 / 1.3 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8257, allocations: 0 / 1.3 GB, free: 2.629 MB / 0.9981 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.001015/0.8267, allocations: 0.6334 MB / 1.3 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.8267, allocations: 9.125 kB / 1.3 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.8268, allocations: 36.3 kB / 1.3 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.8273, allocations: 380 kB / 1.301 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.8273, allocations: 8.969 kB / 1.301 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.8274, allocations: 8.719 kB / 1.301 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.8276, allocations: 103.1 kB / 1.301 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8276, allocations: 0.8438 kB / 1.301 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.8276, allocations: 5.125 kB / 1.301 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8276, allocations: 2.594 kB / 1.301 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.8278, allocations: 57.06 kB / 1.301 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.8286, allocations: 0.4951 MB / 1.301 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.829, allocations: 128.7 kB / 1.302 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.8291, allocations: 44.06 kB / 1.302 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.8291, allocations: 6.562 kB / 1.302 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.8294, allocations: 109.5 kB / 1.302 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.8294, allocations: 0 / 1.302 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0005306/0.8299, allocations: 228.5 kB / 1.302 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.8299, allocations: 54.86 kB / 1.302 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.8305, allocations: 0.5087 MB / 1.303 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.8306, allocations: 32.11 kB / 1.303 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.8307, allocations: 166.8 kB / 1.303 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.8308, allocations: 38.36 kB / 1.303 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.8309, allocations: 70.34 kB / 1.303 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.831, allocations: 348 kB / 1.303 GB, free: 216 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.8312, allocations: 98.28 kB / 1.303 GB, free: 188 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.8315, allocations: 142.3 kB / 1.303 GB, free: 116 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.8318, allocations: 183.8 kB / 1.304 GB, free: 24 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8318, allocations: 0.75 kB / 1.304 GB, free: 24 kB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005771/0.8324, allocations: 326.1 kB / 1.304 GB, free: 15.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8324, allocations: 8.844 kB / 1.304 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8324, allocations: 1.562 kB / 1.304 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8324, allocations: 6.391 kB / 1.304 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.8326, allocations: 53.09 kB / 1.304 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.8326, allocations: 3.156 kB / 1.304 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.8328, allocations: 20.31 kB / 1.304 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.8328, allocations: 12.81 kB / 1.304 GB, free: 15.85 MB / 1.014 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.0001938/0.833, allocations: 181.4 kB / 1.304 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.8331, allocations: 35.08 kB / 1.304 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.8335, allocations: 193.3 kB / 1.304 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.8335, allocations: 2.016 kB / 1.304 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8335, allocations: 1.469 kB / 1.304 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8335, allocations: 1.078 kB / 1.304 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.8338, allocations: 306.6 kB / 1.305 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.8338, allocations: 0 / 1.305 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.8339, allocations: 16.09 kB / 1.305 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.8339, allocations: 5.906 kB / 1.305 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.8339, allocations: 6.531 kB / 1.305 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8339, allocations: 1.219 kB / 1.305 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8339, allocations: 0 / 1.305 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.8343, allocations: 208.8 kB / 1.305 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.8344, allocations: 112.1 kB / 1.305 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.8344, allocations: 10.16 kB / 1.305 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.8345, allocations: 6.266 kB / 1.305 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.8346, allocations: 17.33 kB / 1.305 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.8346, allocations: 11.17 kB / 1.305 GB, free: 15.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003593/0.835, allocations: 317.9 kB / 1.305 GB, free: 14.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.835, allocations: 0 / 1.305 GB, free: 14.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002946/0.8353, allocations: 62.06 kB / 1.305 GB, free: 14.94 MB / 1.014 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 (13): * Single equations (assignments): 9 * 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.001479/0.8368, allocations: 414.3 kB / 1.306 GB, free: 14.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.8372, allocations: 181.2 kB / 1.306 GB, free: 14.69 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8372, allocations: 0 / 1.306 GB, free: 14.69 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.8373, allocations: 62.25 kB / 1.306 GB, free: 14.67 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.8378, allocations: 88.53 kB / 1.306 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009122/0.8387, allocations: 0.5741 MB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.8391, allocations: 0.786 MB / 1.307 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/0.8392, allocations: 35.08 kB / 1.307 GB, free: 13.57 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/0.8392, allocations: 1.031 kB / 1.307 GB, free: 13.57 MB / 1.014 GB Notification: Performance of Templates: time 0.007693/0.8469, allocations: 4.438 MB / 1.312 GB, free: 12.8 MB / 1.014 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 400] 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/jenkins1/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