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.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.001719/0.001719, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002073/0.002073, allocations: 186 kB / 20.78 MB, free: 1.547 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.529/1.529, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.926/2.926, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.91 kB / 1.107 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213/1.215, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002202/1.217, allocations: 0.7867 MB / 1.273 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001651/1.219, allocations: 1.25 MB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/1.219, allocations: 2.656 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.956e-05/1.219, allocations: 9.984 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/1.219, allocations: 20.61 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/1.22, allocations: 252.8 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/1.22, allocations: 259.4 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/1.221, allocations: 43.58 kB / 1.275 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/1.221, allocations: 103.3 kB / 1.275 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/1.221, allocations: 103.6 kB / 1.275 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/1.221, allocations: 24.72 kB / 1.275 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/1.221, allocations: 38.73 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/1.221, allocations: 39.92 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/1.221, allocations: 95.7 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/1.221, allocations: 247.2 kB / 1.275 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.221, allocations: 0 / 1.275 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.392e-06/1.221, allocations: 0.9062 kB / 1.275 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.221, allocations: 0 / 1.275 GB, free: 5.988 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006555/1.222, allocations: 499 kB / 1.276 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.222, allocations: 9.531 kB / 1.276 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/1.222, allocations: 21.83 kB / 1.276 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/1.223, allocations: 248 kB / 1.276 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/1.223, allocations: 15.11 kB / 1.276 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/1.223, allocations: 20.69 kB / 1.276 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/1.223, allocations: 131.6 kB / 1.276 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.223, allocations: 5.031 kB / 1.276 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/1.223, allocations: 5.766 kB / 1.276 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/1.223, allocations: 4.047 kB / 1.276 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/1.223, allocations: 64.86 kB / 1.276 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/1.224, allocations: 460 kB / 1.277 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/1.224, allocations: 84.48 kB / 1.277 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/1.224, allocations: 32.55 kB / 1.277 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/1.224, allocations: 5.812 kB / 1.277 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/1.224, allocations: 147.6 kB / 1.277 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/1.224, allocations: 0 / 1.277 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004398/1.225, allocations: 238.1 kB / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/1.225, allocations: 59.62 kB / 1.277 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/1.225, allocations: 142.7 kB / 1.277 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/1.225, allocations: 34.17 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/1.225, allocations: 113.2 kB / 1.277 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/1.225, allocations: 33.84 kB / 1.277 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/1.225, allocations: 68.8 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.532e-05/1.225, allocations: 321.7 kB / 1.278 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/1.225, allocations: 67.23 kB / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/1.226, allocations: 126.6 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/1.226, allocations: 219.7 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.226, allocations: 0.9375 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004391/1.226, allocations: 311.5 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/1.226, allocations: 66.42 kB / 1.279 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.226, allocations: 1.75 kB / 1.279 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.226, allocations: 7.875 kB / 1.279 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.128e-05/1.226, allocations: 15.33 kB / 1.279 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.226, allocations: 2.688 kB / 1.279 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/1.227, allocations: 57.66 kB / 1.279 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/1.227, allocations: 17.2 kB / 1.279 GB, free: 3.328 MB / 0.9981 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.071e-05/1.227, allocations: 138 kB / 1.279 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/1.227, allocations: 18.27 kB / 1.279 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/1.227, allocations: 11.39 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.227, allocations: 3.219 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.227, allocations: 1.094 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.227, allocations: 0 / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/1.227, allocations: 490.3 kB / 1.279 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.227, allocations: 3.938 kB / 1.279 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/1.227, allocations: 2.672 kB / 1.279 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.227, allocations: 6.969 kB / 1.279 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.227, allocations: 5.203 kB / 1.279 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.227, allocations: 1.031 kB / 1.279 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.227, allocations: 0 / 1.279 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/1.228, allocations: 295.1 kB / 1.28 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/1.228, allocations: 85.27 kB / 1.28 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/1.228, allocations: 8.094 kB / 1.28 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.997e-05/1.228, allocations: 7.438 kB / 1.28 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/1.228, allocations: 14.91 kB / 1.28 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/1.228, allocations: 16.75 kB / 1.28 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.226e-05/1.228, allocations: 98.34 kB / 1.28 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.228, allocations: 0 / 1.28 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003103/1.228, allocations: 51.2 kB / 1.28 GB, free: 2.402 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: 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.0001667/1.228, allocations: 114.7 kB / 1.28 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003856/1.229, allocations: 272.3 kB / 1.28 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.229, allocations: 0 / 1.28 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/1.229, allocations: 57.48 kB / 1.28 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/1.229, allocations: 38.27 kB / 1.28 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/1.23, allocations: 270.1 kB / 1.281 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/1.23, allocations: 0.7122 MB / 1.281 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.216e-05/1.23, allocations: 10.55 kB / 1.281 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/1.23, allocations: 15.05 kB / 1.281 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.23, allocations: 0 / 1.281 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of Templates: time 0.006445/1.236, allocations: 2.193 MB / 1.283 GB, free: 0.9961 MB / 0.9981 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.819906225427985]