Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001677/0.001677, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002133/0.002133, allocations: 190.8 kB / 22.23 MB, free: 5.133 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.513/1.513, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.35/3.35, allocations: 0.4893 GB / 0.7884 GB, free: 33.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.27 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4123, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002121/0.4145, allocations: 0.7698 MB / 1.317 GB, free: 8.949 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.4162, allocations: 1.248 MB / 1.318 GB, free: 7.688 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.4163, allocations: 4 kB / 1.318 GB, free: 7.684 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.716e-05/0.4163, allocations: 7.875 kB / 1.318 GB, free: 7.676 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.315e-05/0.4164, allocations: 23.78 kB / 1.318 GB, free: 7.652 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.4172, allocations: 262.1 kB / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.4176, allocations: 251.6 kB / 1.319 GB, free: 7.156 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.4178, allocations: 41.05 kB / 1.319 GB, free: 7.113 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.4179, allocations: 111.7 kB / 1.319 GB, free: 7.004 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.4181, allocations: 107.7 kB / 1.319 GB, free: 6.898 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.4181, allocations: 24 kB / 1.319 GB, free: 6.875 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.4183, allocations: 43.92 kB / 1.319 GB, free: 6.832 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.4183, allocations: 31.91 kB / 1.319 GB, free: 6.801 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.4184, allocations: 103.6 kB / 1.319 GB, free: 6.699 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.4188, allocations: 243.2 kB / 1.319 GB, free: 6.461 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4188, allocations: 0 / 1.319 GB, free: 6.461 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4188, allocations: 0 / 1.319 GB, free: 6.461 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.4188, allocations: 0 / 1.319 GB, free: 6.461 MB / 1.014 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.0007117/0.4195, allocations: 425.2 kB / 1.32 GB, free: 6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.4196, allocations: 12.02 kB / 1.32 GB, free: 5.988 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.4196, allocations: 28.78 kB / 1.32 GB, free: 5.961 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.4202, allocations: 178.6 kB / 1.32 GB, free: 5.762 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.4202, allocations: 12.31 kB / 1.32 GB, free: 5.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.4203, allocations: 20.38 kB / 1.32 GB, free: 5.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.4205, allocations: 132.7 kB / 1.32 GB, free: 5.598 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.4206, allocations: 15.86 kB / 1.32 GB, free: 5.582 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.4206, allocations: 4 kB / 1.32 GB, free: 5.578 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4206, allocations: 4 kB / 1.32 GB, free: 5.574 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.4207, allocations: 67.95 kB / 1.32 GB, free: 5.508 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.4214, allocations: 423.4 kB / 1.32 GB, free: 5.051 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.4216, allocations: 82.53 kB / 1.321 GB, free: 4.961 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.4216, allocations: 32.78 kB / 1.321 GB, free: 4.926 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.4216, allocations: 4 kB / 1.321 GB, free: 4.922 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.4219, allocations: 135.2 kB / 1.321 GB, free: 4.777 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.4219, allocations: 0 / 1.321 GB, free: 4.777 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0004635/0.4224, allocations: 239.3 kB / 1.321 GB, free: 4.539 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.4224, allocations: 59.34 kB / 1.321 GB, free: 4.469 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.4225, allocations: 152.9 kB / 1.321 GB, free: 4.312 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.4226, allocations: 29.7 kB / 1.321 GB, free: 4.277 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.4227, allocations: 112.7 kB / 1.321 GB, free: 4.164 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.4227, allocations: 31.75 kB / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.4228, allocations: 69.67 kB / 1.321 GB, free: 4.059 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.423, allocations: 322.8 kB / 1.322 GB, free: 3.734 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.4231, allocations: 63.97 kB / 1.322 GB, free: 3.672 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.4233, allocations: 132.7 kB / 1.322 GB, free: 3.516 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.4236, allocations: 213.2 kB / 1.322 GB, free: 3.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4236, allocations: 4 kB / 1.322 GB, free: 3.266 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005143/0.4241, allocations: 316.6 kB / 1.322 GB, free: 2.938 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/0.4242, allocations: 65.12 kB / 1.322 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4242, allocations: 4.25 kB / 1.322 GB, free: 2.859 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.4242, allocations: 11.98 kB / 1.322 GB, free: 2.848 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.05e-05/0.4243, allocations: 7.938 kB / 1.322 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4243, allocations: 4 kB / 1.322 GB, free: 2.836 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.4246, allocations: 63.77 kB / 1.323 GB, free: 2.773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.4246, allocations: 23.92 kB / 1.323 GB, free: 2.75 MB / 1.014 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.0001502/0.4248, allocations: 133.8 kB / 1.323 GB, free: 2.609 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.4248, allocations: 19.84 kB / 1.323 GB, free: 2.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.4249, allocations: 12.77 kB / 1.323 GB, free: 2.574 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4249, allocations: 4 kB / 1.323 GB, free: 2.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4249, allocations: 0 / 1.323 GB, free: 2.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4249, allocations: 0 / 1.323 GB, free: 2.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.4254, allocations: 461.4 kB / 1.323 GB, free: 2.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4254, allocations: 0 / 1.323 GB, free: 2.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.4254, allocations: 8 kB / 1.323 GB, free: 2.062 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4254, allocations: 0 / 1.323 GB, free: 2.062 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.4255, allocations: 11.98 kB / 1.323 GB, free: 2.051 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4255, allocations: 0 / 1.323 GB, free: 2.051 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4255, allocations: 0 / 1.323 GB, free: 2.051 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.4258, allocations: 288.7 kB / 1.323 GB, free: 1.754 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.4258, allocations: 11.91 kB / 1.323 GB, free: 1.742 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.4258, allocations: 8 kB / 1.323 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-05/0.4259, allocations: 7.984 kB / 1.323 GB, free: 1.727 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.4259, allocations: 11.98 kB / 1.323 GB, free: 1.715 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.426, allocations: 11.98 kB / 1.323 GB, free: 1.703 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.426, allocations: 95.27 kB / 1.324 GB, free: 1.609 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.426, allocations: 0 / 1.324 GB, free: 1.609 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003047/0.4263, allocations: 51.94 kB / 1.324 GB, free: 1.559 MB / 1.014 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.0001606/0.4265, allocations: 103.8 kB / 1.324 GB, free: 1.449 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.4269, allocations: 271.9 kB / 1.324 GB, free: 1.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4269, allocations: 0 / 1.324 GB, free: 1.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.427, allocations: 63.84 kB / 1.324 GB, free: 1.098 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.4274, allocations: 29.28 kB / 1.324 GB, free: 1.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.4279, allocations: 263.9 kB / 1.324 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.4283, allocations: 0.7163 MB / 1.325 GB, free: 48 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.539e-05/0.4283, allocations: 5.094 kB / 1.325 GB, free: 44 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.4283, allocations: 15.44 kB / 1.325 GB, free: 28 kB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.4283, allocations: 3.938 kB / 1.325 GB, free: 24 kB / 1.014 GB Notification: Performance of Templates: time 0.005827/0.4342, allocations: 2.233 MB / 1.327 GB, free: 13.81 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.491160599514842]