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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.00167, allocations: 112.6 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 489.2 MB / 0.7687 GB, free: 3.734 MB / 0.6075 GB " [Timeout remaining time 176] 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=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 0.002039/0.002039, allocations: 63.89 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9377/0.9398, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003182/0.943, allocations: 1.996 MB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.9449, allocations: 1.2 MB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.945, allocations: 6.875 kB / 1.266 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.9455, allocations: 160.3 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.9459, allocations: 147.8 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.9464, allocations: 233.6 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.9468, allocations: 319.6 kB / 1.267 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.947, allocations: 44.33 kB / 1.267 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.9472, allocations: 141.3 kB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.9474, allocations: 144.4 kB / 1.267 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.9474, allocations: 17.88 kB / 1.267 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.9476, allocations: 67.2 kB / 1.267 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.9477, allocations: 82.66 kB / 1.267 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.9478, allocations: 124.4 kB / 1.267 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.9483, allocations: 370.9 kB / 1.267 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9484, allocations: 0.875 kB / 1.267 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9484, allocations: 0 / 1.267 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.9484, allocations: 0.9688 kB / 1.267 GB, free: 4.969 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.0009281/0.9493, allocations: 0.6325 MB / 1.268 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.9494, allocations: 13.72 kB / 1.268 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.335e-05/0.9494, allocations: 36.42 kB / 1.268 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.9499, allocations: 384.1 kB / 1.269 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.95, allocations: 7 kB / 1.269 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.95, allocations: 10.83 kB / 1.269 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.9502, allocations: 108.4 kB / 1.269 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9503, allocations: 0.8125 kB / 1.269 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.9503, allocations: 1.219 kB / 1.269 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.9503, allocations: 6.062 kB / 1.269 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.9505, allocations: 66.41 kB / 1.269 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.9512, allocations: 494.3 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.9516, allocations: 135.5 kB / 1.269 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.9518, allocations: 51.34 kB / 1.269 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.9518, allocations: 2.719 kB / 1.269 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.952, allocations: 113 kB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.952, allocations: 0 / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0005527/0.9526, allocations: 228.9 kB / 1.27 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.9526, allocations: 58.09 kB / 1.27 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/0.9533, allocations: 0.5079 MB / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.9533, allocations: 31.39 kB / 1.27 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.9534, allocations: 166.8 kB / 1.27 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.9535, allocations: 40.41 kB / 1.27 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.9536, allocations: 66.64 kB / 1.271 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.9537, allocations: 344.7 kB / 1.271 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.9539, allocations: 105.6 kB / 1.271 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.9541, allocations: 134.1 kB / 1.271 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.9545, allocations: 184.8 kB / 1.271 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9545, allocations: 0 / 1.271 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005799/0.9551, allocations: 324.9 kB / 1.272 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.9551, allocations: 13.44 kB / 1.272 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9551, allocations: 0.7812 kB / 1.272 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.9551, allocations: 2.188 kB / 1.272 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.9554, allocations: 54.52 kB / 1.272 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.9554, allocations: 1.812 kB / 1.272 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.9555, allocations: 18.53 kB / 1.272 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.9555, allocations: 14.5 kB / 1.272 GB, free: 2.188 MB / 0.9981 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.0001581/0.9557, allocations: 187.3 kB / 1.272 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.9558, allocations: 38.02 kB / 1.272 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.912e-05/0.9558, allocations: 39.95 kB / 1.272 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.9558, allocations: 1.406 kB / 1.272 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9559, allocations: 1.031 kB / 1.272 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.9559, allocations: 0 / 1.272 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.9561, allocations: 296.5 kB / 1.272 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9561, allocations: 0.6562 kB / 1.272 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.9562, allocations: 10.41 kB / 1.272 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.9562, allocations: 4.938 kB / 1.272 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.9562, allocations: 10.89 kB / 1.272 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.9562, allocations: 6.141 kB / 1.272 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9562, allocations: 4 kB / 1.272 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.9566, allocations: 203 kB / 1.272 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.9567, allocations: 122.6 kB / 1.273 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.9567, allocations: 9.938 kB / 1.273 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.9568, allocations: 5.844 kB / 1.273 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.9569, allocations: 22.64 kB / 1.273 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.9569, allocations: 9.219 kB / 1.273 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003568/0.9573, allocations: 313.9 kB / 1.273 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9573, allocations: 0 / 1.273 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003165/0.9576, allocations: 55.12 kB / 1.273 GB, free: 1.34 MB / 0.9981 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 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * 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.00148/0.9591, allocations: 422.5 kB / 1.273 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.9595, allocations: 193.8 kB / 1.274 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9596, allocations: 0 / 1.274 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.9597, allocations: 65.38 kB / 1.274 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.9602, allocations: 92.42 kB / 1.274 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.961, allocations: 0.5605 MB / 1.274 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.9612, allocations: 0.7937 MB / 1.275 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.9613, allocations: 29.59 kB / 1.275 GB, free: 15.98 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/0.9613, allocations: 0 / 1.275 GB, free: 15.98 MB / 1.014 GB Notification: Performance of Templates: time 0.008767/0.9701, allocations: 4.432 MB / 1.279 GB, free: 15.43 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=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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.296839589020237]