Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.001464/0.001464, allocations: 108.5 kB / 16.45 MB, free: 6.453 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.001671/0.001671, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.54/1.54, allocations: 230.5 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.403/3.403, allocations: 0.4899 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 69 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4499, allocations: 176.1 MB / 1.321 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002261/0.4521, allocations: 0.7726 MB / 1.322 GB, free: 2.133 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.454, allocations: 1.276 MB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.624e-05/0.4541, allocations: 0 / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.11e-05/0.4542, allocations: 11.81 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/0.4543, allocations: 23.84 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.455, allocations: 254.8 kB / 1.324 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.4553, allocations: 255.6 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.4555, allocations: 37.09 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.4556, allocations: 103.8 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.4558, allocations: 103.7 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.4559, allocations: 24 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.008e-05/0.4559, allocations: 43.98 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.456, allocations: 35.91 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.4561, allocations: 95.61 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.4564, allocations: 243.2 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4564, allocations: 15.88 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4564, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.4565, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007743/0.4572, allocations: 0.4944 MB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4573, allocations: 11.98 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.4574, allocations: 24.83 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005722/0.4579, allocations: 236.3 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.458, allocations: 16.38 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.458, allocations: 24.36 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.4583, allocations: 123.9 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4583, allocations: 3.938 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.4583, allocations: 7.969 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4583, allocations: 4 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.4584, allocations: 71.97 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.4591, allocations: 460.2 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.4593, allocations: 82.53 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.4593, allocations: 32.84 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.4593, allocations: 0 / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.4597, allocations: 134.2 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.4597, allocations: 0 / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004706/0.4601, allocations: 245.4 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.4602, allocations: 55.41 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4603, allocations: 141.8 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.4603, allocations: 33.7 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.4605, allocations: 120.6 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.4605, allocations: 27.81 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.4606, allocations: 69.67 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4608, allocations: 322.8 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4609, allocations: 71.95 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.4611, allocations: 133.7 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.4614, allocations: 214.9 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4614, allocations: 0 / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005262/0.4619, allocations: 322.8 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.462, allocations: 69.42 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.462, allocations: 4 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.462, allocations: 8.25 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.866e-05/0.4621, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.4621, allocations: 3.938 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.4624, allocations: 59.89 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.4624, allocations: 15.98 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.0001541/0.4626, allocations: 137.8 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.4626, allocations: 23.81 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.4627, allocations: 12.78 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4627, allocations: 0 / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4627, allocations: 4 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4627, allocations: 0 / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.4632, allocations: 486.3 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4632, allocations: 0 / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.4632, allocations: 7.938 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4632, allocations: 4 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4633, allocations: 3.984 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4633, allocations: 4 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4633, allocations: 0 / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.4636, allocations: 293.4 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.4637, allocations: 85.06 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.4637, allocations: 3.984 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.4637, allocations: 4 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.4638, allocations: 15.98 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.4638, allocations: 11.98 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.842e-05/0.4639, allocations: 102.5 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4639, allocations: 3.938 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003259/0.4642, allocations: 51.89 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00019/0.4644, allocations: 111.2 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.4648, allocations: 270.6 kB / 1.33 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4648, allocations: 0 / 1.33 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4649, allocations: 51.98 kB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.4653, allocations: 27.91 kB / 1.33 GB, free: 9.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.4659, allocations: 279.1 kB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.4663, allocations: 0.709 MB / 1.331 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.4663, allocations: 13.08 kB / 1.331 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.4663, allocations: 11.44 kB / 1.331 GB, free: 8.852 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4663, allocations: 4 kB / 1.331 GB, free: 8.848 MB / 1.029 GB Notification: Performance of Templates: time 0.00589/0.4722, allocations: 2.164 MB / 1.333 GB, free: 6.703 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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: 9.646839566063136]