Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008215/0.0008215, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002094, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008286/0.0008286, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001976, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09888/1.11, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.89/1.89, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5571/2.447, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.89e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002236/0.002265, allocations: 0.8245 MB / 0.7305 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.003914, allocations: 1.297 MB / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.003981, allocations: 0 / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.004021, allocations: 11.88 kB / 0.7317 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.004084, allocations: 20.55 kB / 0.7318 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.004684, allocations: 245.1 kB / 0.732 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.005014, allocations: 249.4 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.00516, allocations: 51.05 kB / 0.7323 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.005391, allocations: 157.7 kB / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.005569, allocations: 80.98 kB / 0.7325 GB, free: 1.531 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.005613, allocations: 20 kB / 0.7325 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.005726, allocations: 35.92 kB / 0.7326 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.005771, allocations: 24.44 kB / 0.7326 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.00585, allocations: 53.36 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.00612, allocations: 155.5 kB / 0.7328 GB, free: 1.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.7e-05/0.006137, allocations: 0 / 0.7328 GB, free: 1.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/0.00614, allocations: 0 / 0.7328 GB, free: 1.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.006156, allocations: 0.5625 kB / 0.7328 GB, free: 1.25 MB / 0.698 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.0006851/0.006841, allocations: 432.8 kB / 0.7332 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.006882, allocations: 12.03 kB / 0.7332 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.006955, allocations: 28.91 kB / 0.7332 GB, free: 0.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.007176, allocations: 138.3 kB / 0.7334 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.0072, allocations: 16.36 kB / 0.7334 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.007243, allocations: 25.44 kB / 0.7334 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.007409, allocations: 101.2 kB / 0.7335 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.007418, allocations: 192 / 0.7335 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.007435, allocations: 13.33 kB / 0.7335 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.007443, allocations: 4.375 kB / 0.7335 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.311e-05/0.007507, allocations: 35.92 kB / 0.7336 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.007966, allocations: 260.6 kB / 0.7338 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.008091, allocations: 63.06 kB / 0.7339 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.008122, allocations: 25.89 kB / 0.7339 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-06/0.008127, allocations: 4 kB / 0.7339 GB, free: 28 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.008343, allocations: 117.4 kB / 0.734 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.008345, allocations: 0 / 0.734 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002458/0.008591, allocations: 139.9 kB / 0.7341 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.008633, allocations: 55.41 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.008745, allocations: 159.6 kB / 0.7344 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.008776, allocations: 29.7 kB / 0.7344 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.00885, allocations: 112.5 kB / 0.7345 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.008881, allocations: 31.78 kB / 0.7345 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.669e-05/0.008978, allocations: 67.23 kB / 0.7346 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.009079, allocations: 322.8 kB / 0.7349 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.009195, allocations: 103.4 kB / 0.735 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.009346, allocations: 169.1 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.009539, allocations: 200.2 kB / 0.7353 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.009542, allocations: 0 / 0.7353 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003382/0.00988, allocations: 310.6 kB / 0.7356 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/0.009943, allocations: 67.39 kB / 0.7357 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.009952, allocations: 4 kB / 0.7357 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.009969, allocations: 4.75 kB / 0.7357 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.377e-05/0.01, allocations: 11.98 kB / 0.7357 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.01001, allocations: 8.469 kB / 0.7357 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.01027, allocations: 52.67 kB / 0.7358 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.0103, allocations: 13.05 kB / 0.7358 GB, free: 13.91 MB / 0.7136 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,fal.y,tru.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.0001097/0.0104, allocations: 131.6 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.01043, allocations: 15.92 kB / 0.7359 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.01046, allocations: 12.78 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.01047, allocations: 4.594 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.01047, allocations: 0.75 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.01048, allocations: 11.92 kB / 0.736 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.01077, allocations: 267.5 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01078, allocations: 3.984 kB / 0.7362 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.0108, allocations: 18.05 kB / 0.7362 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.01081, allocations: 11.91 kB / 0.7362 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.01081, allocations: 0 / 0.7362 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01082, allocations: 0 / 0.7362 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.01083, allocations: 7.938 kB / 0.7363 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01083, allocations: 0 / 0.7363 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.01101, allocations: 212.2 kB / 0.7365 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.01103, allocations: 3.984 kB / 0.7365 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.0111, allocations: 4 kB / 0.7365 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.01114, allocations: 19.91 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.01116, allocations: 7.25 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.714e-05/0.01119, allocations: 16.84 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01119, allocations: 0 / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002929/0.01148, allocations: 51.98 kB / 0.7366 GB, free: 13.09 MB / 0.7136 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.0001692/0.01165, allocations: 92.28 kB / 0.7366 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.01197, allocations: 309.9 kB / 0.7369 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.01198, allocations: 0 / 0.7369 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.853e-05/0.01205, allocations: 52.77 kB / 0.737 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.01236, allocations: 148.8 kB / 0.7371 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.01309, allocations: 261.2 kB / 0.7374 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.251e-05/0.01315, allocations: 63.84 kB / 0.7374 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.446e-05/0.01319, allocations: 14.42 kB / 0.7375 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.01333, allocations: 84 kB / 0.7375 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/0.01334, allocations: 0 / 0.7375 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.006215/0.01955, allocations: 2.495 MB / 0.74 GB, free: 9.617 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.995077176950872]