Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001683, allocations: 105.3 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9951/0.9967, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.003191/0.9999, allocations: 0.7794 MB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002731/1.003, allocations: 1.339 MB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/1.003, allocations: 0 / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.301e-05/1.003, allocations: 11.81 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/1.003, allocations: 23.84 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/1.004, allocations: 310 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005453/1.005, allocations: 367.5 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/1.005, allocations: 53.09 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/1.005, allocations: 155.7 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/1.006, allocations: 143.5 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.263e-05/1.006, allocations: 36 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/1.006, allocations: 47.98 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/1.006, allocations: 75.83 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/1.006, allocations: 131.6 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005408/1.007, allocations: 335.1 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.007, allocations: 0 / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.853e-06/1.007, allocations: 0 / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.007, allocations: 0 / 1.171 GB, free: 56 kB / 0.8887 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.001108/1.008, allocations: 0.5431 MB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.008, allocations: 8.922 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/1.008, allocations: 24.83 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/1.009, allocations: 260.2 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/1.009, allocations: 20.36 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/1.009, allocations: 40.36 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/1.01, allocations: 210 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.01, allocations: 3.938 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/1.01, allocations: 15.97 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/1.01, allocations: 7.938 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/1.01, allocations: 99.88 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/1.011, allocations: 0.5585 MB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/1.012, allocations: 266.6 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/1.012, allocations: 112.8 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/1.012, allocations: 0 / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/1.013, allocations: 0.4951 MB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.434e-06/1.013, allocations: 0 / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.001576/1.015, allocations: 0.5685 MB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/1.015, allocations: 67.33 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/1.015, allocations: 156.2 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.015, allocations: 61.69 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/1.016, allocations: 108.9 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/1.016, allocations: 102.8 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/1.016, allocations: 126.2 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.016, allocations: 334.8 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004779/1.017, allocations: 173.1 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/1.017, allocations: 286.8 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/1.018, allocations: 369.2 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/1.018, allocations: 0 / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001567/1.02, allocations: 0.5604 MB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.02, allocations: 59.41 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/1.02, allocations: 4 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.159e-05/1.02, allocations: 4.375 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/1.02, allocations: 31.86 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.31e-05/1.02, allocations: 15.92 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/1.021, allocations: 79.53 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/1.021, allocations: 28 kB / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.y,$PRE.truCleTruIni.y,$PRE.falCleFalIni.y,$PRE.truCleFalIni.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,tru.y,fal.y,truCleTruIni.clr,$PRE.truCleTruIni.clr,truCleFalIni.clr,$PRE.truCleFalIni.clr,falCleTruIni.clr,$PRE.falCleTruIni.clr,falCleFalIni.clr,$PRE.falCleFalIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp1.clr,$PRE.swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,swiCleInp.clr,$PRE.swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0004306/1.021, allocations: 175 kB / 1.177 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/1.021, allocations: 23.8 kB / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/1.022, allocations: 38.31 kB / 1.177 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.022, allocations: 3.984 kB / 1.177 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/1.022, allocations: 3.938 kB / 1.177 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/1.022, allocations: 104.7 kB / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.022, allocations: 19.98 kB / 1.177 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/1.022, allocations: 11.98 kB / 1.177 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/1.022, allocations: 55.92 kB / 1.177 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001249/1.024, allocations: 0.5243 MB / 1.178 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001217/1.025, allocations: 0.6158 MB / 1.178 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004598/1.025, allocations: 231.9 kB / 1.178 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001032/1.025, allocations: 101.8 kB / 1.178 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of Backend: time 3.336e-06/1.025, allocations: 0 / 1.178 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001714/1.027, allocations: 0.5236 MB / 1.179 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001272/1.028, allocations: 0.7645 MB / 1.18 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of Templates: time 0.01386/1.042, allocations: 4.382 MB / 1.184 GB, free: 2.293 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches