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.001719/0.001719, allocations: 108.8 kB / 17.07 MB, free: 6.082 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.001977/0.001977, allocations: 190.2 kB / 20.02 MB, free: 3.168 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.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 489.3 MB / 0.7687 GB, free: 3.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00202/0.00202, allocations: 75.88 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9947/0.9967, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001806/0.9986, allocations: 0.7601 MB / 1.263 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001512/1, allocations: 1.25 MB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/1, allocations: 1.438 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.253e-05/1, allocations: 10.08 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.858e-05/1, allocations: 19.52 kB / 1.265 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/1.001, allocations: 258.2 kB / 1.265 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005216/1.002, allocations: 262.7 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/1.002, allocations: 47.83 kB / 1.265 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/1.002, allocations: 109 kB / 1.265 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/1.002, allocations: 110.1 kB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.68e-05/1.002, allocations: 24.22 kB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/1.003, allocations: 39.25 kB / 1.265 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/1.003, allocations: 31.73 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/1.003, allocations: 94.2 kB / 1.266 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/1.003, allocations: 255 kB / 1.266 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/1.003, allocations: 0.7812 kB / 1.266 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.254e-06/1.003, allocations: 0 / 1.266 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.003, allocations: 0.6875 kB / 1.266 GB, free: 6.078 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.0008069/1.004, allocations: 0.4939 MB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/1.004, allocations: 8.875 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.097e-05/1.004, allocations: 26.52 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/1.005, allocations: 235 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/1.005, allocations: 10.89 kB / 1.267 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/1.005, allocations: 26.95 kB / 1.267 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/1.005, allocations: 128.4 kB / 1.267 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.005, allocations: 7.938 kB / 1.267 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/1.005, allocations: 7.766 kB / 1.267 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/1.005, allocations: 3 kB / 1.267 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/1.006, allocations: 69.62 kB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007313/1.006, allocations: 455 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/1.007, allocations: 106.5 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/1.007, allocations: 49.12 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/1.007, allocations: 1.438 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/1.007, allocations: 137.3 kB / 1.267 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.993e-06/1.007, allocations: 0 / 1.267 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0005259/1.008, allocations: 244.8 kB / 1.268 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/1.008, allocations: 59.06 kB / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.008, allocations: 142.2 kB / 1.268 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/1.008, allocations: 30.36 kB / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/1.008, allocations: 116.2 kB / 1.268 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/1.008, allocations: 27.39 kB / 1.268 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/1.008, allocations: 69.11 kB / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.239e-05/1.008, allocations: 325.2 kB / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/1.008, allocations: 61.56 kB / 1.268 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/1.008, allocations: 136.1 kB / 1.269 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/1.009, allocations: 219.7 kB / 1.269 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.009, allocations: 0.875 kB / 1.269 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005995/1.009, allocations: 318.7 kB / 1.269 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.585e-05/1.009, allocations: 63.53 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.009, allocations: 2.156 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/1.009, allocations: 5.047 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.588e-05/1.009, allocations: 9.156 kB / 1.269 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.01, allocations: 7.594 kB / 1.269 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/1.01, allocations: 60.33 kB / 1.269 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/1.01, allocations: 18.36 kB / 1.269 GB, free: 3.402 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 0.0001322/1.01, allocations: 129.5 kB / 1.269 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/1.01, allocations: 18.59 kB / 1.269 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/1.01, allocations: 12.14 kB / 1.269 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.01, allocations: 2.156 kB / 1.269 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.01, allocations: 3.938 kB / 1.269 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.01, allocations: 2.359 kB / 1.269 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/1.011, allocations: 493.6 kB / 1.27 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.011, allocations: 0.875 kB / 1.27 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/1.011, allocations: 2.578 kB / 1.27 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.011, allocations: 4.844 kB / 1.27 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/1.011, allocations: 8.578 kB / 1.27 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/1.011, allocations: 9.516 kB / 1.27 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.011, allocations: 0 / 1.27 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/1.011, allocations: 292.3 kB / 1.27 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/1.011, allocations: 90.11 kB / 1.27 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/1.011, allocations: 7.922 kB / 1.27 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/1.011, allocations: 2.188 kB / 1.27 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/1.011, allocations: 11.36 kB / 1.27 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/1.012, allocations: 14.22 kB / 1.27 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.81e-05/1.012, allocations: 96.11 kB / 1.27 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.012, allocations: 0 / 1.27 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003477/1.012, allocations: 48.38 kB / 1.27 GB, free: 2.484 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.0002021/1.012, allocations: 115.9 kB / 1.271 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004926/1.013, allocations: 295.6 kB / 1.271 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.013, allocations: 0 / 1.271 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/1.013, allocations: 73.19 kB / 1.271 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/1.013, allocations: 30.06 kB / 1.271 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/1.014, allocations: 289.4 kB / 1.271 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/1.014, allocations: 0.7101 MB / 1.272 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/1.014, allocations: 18.41 kB / 1.272 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/1.014, allocations: 0 / 1.272 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of Templates: time 0.004824/1.019, allocations: 1.99 MB / 1.274 GB, free: 1.043 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" 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.586934963939711]