Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001752/0.001752, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00204/0.00204, allocations: 212 kB / 22.24 MB, free: 5.262 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.625/1.625, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.884/2.884, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002148/0.002148, allocations: 69.48 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4263, allocations: 169.9 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002311/0.4286, allocations: 0.7442 MB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.4306, allocations: 1.266 MB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.4307, allocations: 8 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.394e-05/0.4307, allocations: 11.86 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.4308, allocations: 11.81 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.4317, allocations: 261.2 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.432, allocations: 247.6 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.4322, allocations: 41.27 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4323, allocations: 111.8 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.4325, allocations: 91.61 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.4325, allocations: 24 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.4326, allocations: 39.98 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.4327, allocations: 35.89 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.4328, allocations: 87.75 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.4332, allocations: 247.2 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4332, allocations: 0 / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4332, allocations: 3.938 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.4332, allocations: 0 / 1.286 GB, free: 8.723 MB / 0.9825 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.0007463/0.4339, allocations: 433.1 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.434, allocations: 16.03 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.4341, allocations: 20.84 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.4346, allocations: 170.5 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.4347, allocations: 12.38 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.4347, allocations: 24.36 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.435, allocations: 131.4 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.435, allocations: 3.938 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.435, allocations: 7.984 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.435, allocations: 4 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.4352, allocations: 67.97 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.4358, allocations: 352 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.4359, allocations: 86.47 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.359e-05/0.436, allocations: 40.78 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.436, allocations: 3.984 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.4363, allocations: 127.2 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.4363, allocations: 4 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004845/0.4368, allocations: 256.5 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.4368, allocations: 51.41 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.437, allocations: 139.1 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.437, allocations: 33.7 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.4371, allocations: 116.6 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.4372, allocations: 35.78 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.4373, allocations: 69.67 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000223/0.4375, allocations: 314.8 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.4377, allocations: 131.3 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.438, allocations: 191.1 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.4383, allocations: 215 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4383, allocations: 0 / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005462/0.4388, allocations: 376.1 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/0.4389, allocations: 71.33 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4389, allocations: 0 / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.4389, allocations: 4 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.163e-05/0.4389, allocations: 7.938 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.439, allocations: 4 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.4393, allocations: 64.08 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.4393, allocations: 19.98 kB / 1.29 GB, free: 4.883 MB / 0.9825 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.0001564/0.4395, allocations: 137.8 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.4395, allocations: 11.89 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.4395, allocations: 12.78 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4395, allocations: 0 / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4395, allocations: 7.875 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4396, allocations: 0 / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.4401, allocations: 428.8 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4401, allocations: 0 / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/0.4401, allocations: 4 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4401, allocations: 4 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.4401, allocations: 3.984 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4401, allocations: 0 / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4401, allocations: 4 kB / 1.29 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.4405, allocations: 299.2 kB / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.4405, allocations: 7.953 kB / 1.29 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.4405, allocations: 3.984 kB / 1.29 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.4406, allocations: 12 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.4406, allocations: 11.97 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.4406, allocations: 16 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.076e-05/0.4407, allocations: 96.14 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4407, allocations: 0 / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003106/0.441, allocations: 51.88 kB / 1.291 GB, free: 3.734 MB / 0.9825 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.000189/0.4412, allocations: 112.4 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004815/0.4417, allocations: 330.3 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4417, allocations: 0 / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.4418, allocations: 63.89 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.4421, allocations: 27.91 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.4427, allocations: 266.1 kB / 1.291 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.4428, allocations: 103 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.4428, allocations: 9.094 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.4428, allocations: 11.44 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.4428, allocations: 4 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of Templates: time 0.006708/0.4496, allocations: 2.411 MB / 1.294 GB, free: 388 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.665046436712146]