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.001402/0.001402, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001604/0.001604, allocations: 191.7 kB / 22.23 MB, free: 5.16 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.554/1.554, allocations: 225.6 MB / 251 MB, free: 13.02 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.937/2.937, allocations: 476.7 MB / 0.7646 GB, free: 9.859 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.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.00213/0.00213, allocations: 63.89 kB / 1.11 GB, free: 6.273 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 168.8 MB / 1.274 GB, free: 4.156 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00231/1.037, allocations: 0.7754 MB / 1.275 GB, free: 3.383 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.00182/1.039, allocations: 1.257 MB / 1.276 GB, free: 2.113 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/1.039, allocations: 0 / 1.276 GB, free: 2.113 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 4.161e-05/1.039, allocations: 15.86 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 8.332e-05/1.039, allocations: 19.78 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009214/1.04, allocations: 260.3 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0004157/1.041, allocations: 251.6 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/1.041, allocations: 41.28 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/1.041, allocations: 107.7 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/1.041, allocations: 107.7 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 5.484e-05/1.041, allocations: 27.94 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.806e-05/1.041, allocations: 35.98 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 4.524e-05/1.041, allocations: 35.91 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001589/1.041, allocations: 99.67 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.000327/1.042, allocations: 253.5 kB / 1.278 GB, free: 0.8945 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.042, allocations: 0 / 1.278 GB, free: 0.8945 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.212e-06/1.042, allocations: 0 / 1.278 GB, free: 0.8945 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.171e-06/1.042, allocations: 0 / 1.278 GB, free: 0.8945 MB / 0.9669 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.0006589/1.042, allocations: 421.2 kB / 1.278 GB, free: 448 kB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/1.042, allocations: 8.031 kB / 1.278 GB, free: 440 kB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/1.042, allocations: 20.88 kB / 1.278 GB, free: 420 kB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/1.043, allocations: 182.5 kB / 1.278 GB, free: 212 kB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/1.043, allocations: 20.3 kB / 1.278 GB, free: 192 kB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/1.043, allocations: 20.38 kB / 1.278 GB, free: 172 kB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/1.043, allocations: 127.9 kB / 1.278 GB, free: 40 kB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.043, allocations: 3.938 kB / 1.278 GB, free: 36 kB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/1.043, allocations: 8 kB / 1.278 GB, free: 28 kB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.043, allocations: 0 / 1.278 GB, free: 28 kB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/1.043, allocations: 67.95 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007059/1.044, allocations: 431.3 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00017/1.044, allocations: 86.45 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/1.044, allocations: 32.84 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.99e-06/1.044, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003562/1.045, allocations: 139.2 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=16): time 1.303e-06/1.045, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=16): time 0.0004605/1.045, allocations: 240.2 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/1.045, allocations: 59.41 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.045, allocations: 145.7 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 3.597e-05/1.045, allocations: 33.7 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/1.046, allocations: 108.7 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/1.046, allocations: 35.69 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/1.046, allocations: 69.67 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001489/1.046, allocations: 326.8 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/1.046, allocations: 67.97 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/1.046, allocations: 123.7 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/1.047, allocations: 215 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.047, allocations: 7.938 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006259/1.047, allocations: 321.8 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/1.047, allocations: 59.41 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.047, allocations: 4 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.047, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.391e-05/1.047, allocations: 19.92 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.047, allocations: 3.938 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/1.048, allocations: 64.08 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.048, allocations: 19.98 kB / 1.281 GB, free: 13.18 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.0001367/1.048, allocations: 126.4 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/1.048, allocations: 11.89 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/1.048, allocations: 20.77 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.048, allocations: 0 / 1.281 GB, free: 13.02 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.048, allocations: 0 / 1.281 GB, free: 13.02 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/1.048, allocations: 4 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/1.048, allocations: 465.3 kB / 1.281 GB, free: 12.51 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.048, allocations: 0 / 1.281 GB, free: 12.51 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/1.048, allocations: 0 / 1.281 GB, free: 12.51 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.048, allocations: 4 kB / 1.281 GB, free: 12.51 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.048, allocations: 0 / 1.281 GB, free: 12.51 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.048, allocations: 7.984 kB / 1.281 GB, free: 12.5 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.048, allocations: 7.938 kB / 1.281 GB, free: 12.49 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/1.049, allocations: 289.7 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/1.049, allocations: 7.953 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/1.049, allocations: 4 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/1.049, allocations: 7.984 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/1.049, allocations: 7.984 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/1.049, allocations: 15.98 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 7.198e-05/1.049, allocations: 101.8 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 9e-08/1.049, allocations: 0 / 1.282 GB, free: 12.05 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003009/1.049, allocations: 47.89 kB / 1.282 GB, free: 12.01 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.0001498/1.049, allocations: 119.1 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0004083/1.05, allocations: 266.6 kB / 1.282 GB, free: 11.6 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.05, allocations: 0.5 kB / 1.282 GB, free: 11.6 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001151/1.05, allocations: 63.91 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/1.05, allocations: 23.92 kB / 1.282 GB, free: 11.51 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005754/1.051, allocations: 261.7 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/1.051, allocations: 0.7046 MB / 1.283 GB, free: 10.5 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 5.681e-05/1.051, allocations: 17.08 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/1.051, allocations: 19.38 kB / 1.283 GB, free: 10.46 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.2e-07/1.051, allocations: 3.938 kB / 1.283 GB, free: 10.46 MB / 0.9825 GB
Notification: Performance of Templates: time 0.006122/1.058, allocations: 2.221 MB / 1.286 GB, free: 8.254 MB / 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.543972853571177]