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.001381/0.001381, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001644/0.001644, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.913/2.913, allocations: 0.49 GB / 0.7923 GB, free: 1.391 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.002123/0.002123, allocations: 67.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001673/1.01, allocations: 0.7656 MB / 1.323 GB, free: 24.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00119/1.011, allocations: 1.288 MB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/1.011, allocations: 2.906 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/1.011, allocations: 7.875 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.671e-05/1.011, allocations: 21.94 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/1.012, allocations: 251.9 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/1.012, allocations: 259 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/1.012, allocations: 35.72 kB / 1.325 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/1.012, allocations: 110.5 kB / 1.325 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/1.013, allocations: 101.8 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/1.013, allocations: 28.25 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/1.013, allocations: 42.55 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/1.013, allocations: 38.61 kB / 1.325 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.617e-05/1.013, allocations: 93.16 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/1.013, allocations: 252.6 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.013, allocations: 0 / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.412e-06/1.013, allocations: 3.938 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.152e-06/1.013, allocations: 0 / 1.325 GB, free: 23.07 MB / 1.061 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.0005173/1.013, allocations: 0.4935 MB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/1.014, allocations: 14.42 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/1.014, allocations: 23.5 kB / 1.326 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/1.014, allocations: 235.6 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/1.014, allocations: 17.47 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/1.014, allocations: 16.84 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/1.014, allocations: 130.4 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.014, allocations: 6.812 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/1.014, allocations: 0 / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/1.014, allocations: 6.875 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/1.014, allocations: 72.53 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/1.015, allocations: 454.1 kB / 1.327 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/1.015, allocations: 85.7 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/1.015, allocations: 31.94 kB / 1.327 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-06/1.015, allocations: 0 / 1.327 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/1.015, allocations: 142.3 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/1.015, allocations: 0 / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0004498/1.016, allocations: 245.4 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/1.016, allocations: 57.66 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/1.016, allocations: 139.6 kB / 1.327 GB, free: 21.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/1.016, allocations: 34.33 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/1.016, allocations: 116.1 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/1.016, allocations: 32.08 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.016, allocations: 68.95 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/1.016, allocations: 323.9 kB / 1.328 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/1.016, allocations: 69.19 kB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/1.016, allocations: 130.1 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/1.017, allocations: 216.9 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.017, allocations: 1.125 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004677/1.017, allocations: 311.7 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/1.017, allocations: 69.94 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/1.017, allocations: 10.22 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.017, allocations: 3.031 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.727e-05/1.017, allocations: 5.094 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.017, allocations: 6.312 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/1.018, allocations: 58.38 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.018, allocations: 15.05 kB / 1.329 GB, free: 20.41 MB / 1.061 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 9.608e-05/1.018, allocations: 142.3 kB / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/1.018, allocations: 14.14 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/1.018, allocations: 14.97 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.018, allocations: 1.625 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.018, allocations: 0.625 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.018, allocations: 3.328 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/1.018, allocations: 491.4 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.018, allocations: 4 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/1.018, allocations: 1.875 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.018, allocations: 4.719 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/1.018, allocations: 9.906 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.018, allocations: 0.5312 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.018, allocations: 0.7812 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/1.019, allocations: 293.7 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/1.019, allocations: 84.69 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/1.019, allocations: 12.66 kB / 1.33 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.998e-05/1.019, allocations: 5.406 kB / 1.33 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/1.019, allocations: 13.92 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/1.019, allocations: 10.62 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.789e-05/1.019, allocations: 100.7 kB / 1.33 GB, free: 19.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.019, allocations: 0 / 1.33 GB, free: 19.49 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003131/1.019, allocations: 52.56 kB / 1.33 GB, free: 19.48 MB / 1.061 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.0001442/1.019, allocations: 108.3 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003837/1.02, allocations: 270.6 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.02, allocations: 0 / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/1.02, allocations: 61.8 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/1.02, allocations: 24.69 kB / 1.33 GB, free: 19.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/1.02, allocations: 298.3 kB / 1.331 GB, free: 18.97 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/1.021, allocations: 0.7114 MB / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/1.021, allocations: 15.12 kB / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.021, allocations: 0 / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of Templates: time 0.00418/1.025, allocations: 1.982 MB / 1.333 GB, free: 18.08 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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] "" Variables in the reference: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 Variables in the result:falCleFalIni.clr,falCleFalIni.u,falCleFalIni.y,falCleTruIni.clr,falCleTruIni.u,falCleTruIni.y,swiCleInp.clr,swiCleInp.u,swiCleInp.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp1.y,time,truCleFalIni.clr,truCleFalIni.u,truCleFalIni.y,truCleTruIni.clr,truCleTruIni.u,truCleTruIni.y [Calling sys.exit(0), Time elapsed: 11.711064942996018]