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.0008033/0.0008033, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001899, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007419/0.0007419, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009444/0.001686, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1057/1.119, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.997/1.997, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5244/2.521, allocations: 123.3 MB / 0.728 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 177] 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 3.457e-06/3.457e-06, allocations: 0 / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.147e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.492 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002659/0.00269, allocations: 0.8166 MB / 0.7301 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.004589, allocations: 1.298 MB / 0.7314 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.004653, allocations: 0.9844 kB / 0.7314 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.77e-05/0.004701, allocations: 13.97 kB / 0.7314 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.169e-05/0.004773, allocations: 24.02 kB / 0.7314 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.005387, allocations: 237.8 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.00573, allocations: 258.8 kB / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.005884, allocations: 45.77 kB / 0.732 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.00611, allocations: 156.3 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.006285, allocations: 81.23 kB / 0.7322 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.006326, allocations: 20 kB / 0.7322 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.006445, allocations: 40.8 kB / 0.7322 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.006486, allocations: 27.86 kB / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.006561, allocations: 53.38 kB / 0.7323 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.006815, allocations: 143.6 kB / 0.7325 GB, free: 1.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.513e-05/0.00684, allocations: 0 / 0.7325 GB, free: 1.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.364e-06/0.006842, allocations: 0 / 0.7325 GB, free: 1.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.006863, allocations: 4.656 kB / 0.7325 GB, free: 1.336 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.0006824/0.007546, allocations: 432.1 kB / 0.7329 GB, free: 0.875 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.007591, allocations: 8.031 kB / 0.7329 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.00767, allocations: 30.69 kB / 0.7329 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.007931, allocations: 141.6 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.007963, allocations: 16.36 kB / 0.7331 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.008006, allocations: 20.38 kB / 0.7331 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.008202, allocations: 103.1 kB / 0.7332 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.008214, allocations: 192 / 0.7332 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.00823, allocations: 8.297 kB / 0.7332 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.008242, allocations: 6.438 kB / 0.7332 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.008317, allocations: 35.92 kB / 0.7332 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.00882, allocations: 263.8 kB / 0.7335 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.008957, allocations: 58.56 kB / 0.7335 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.008989, allocations: 30.02 kB / 0.7336 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-06/0.008995, allocations: 0 / 0.7336 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.009235, allocations: 128.7 kB / 0.7337 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.009237, allocations: 0 / 0.7337 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002834/0.00952, allocations: 130.5 kB / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.009595, allocations: 55.41 kB / 0.7339 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.009748, allocations: 154.4 kB / 0.734 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.009783, allocations: 38.2 kB / 0.7341 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.009875, allocations: 110.2 kB / 0.7342 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.009914, allocations: 35.78 kB / 0.7342 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.01002, allocations: 69.64 kB / 0.7343 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.01015, allocations: 318.8 kB / 0.7346 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.01028, allocations: 107.4 kB / 0.7347 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.01042, allocations: 160.2 kB / 0.7348 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.01063, allocations: 200.3 kB / 0.735 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.01063, allocations: 0 / 0.735 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004544/0.01108, allocations: 302.4 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/0.01116, allocations: 67.39 kB / 0.7354 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.01117, allocations: 4 kB / 0.7354 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.01118, allocations: 8.672 kB / 0.7354 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.36e-05/0.01121, allocations: 11.94 kB / 0.7354 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.01122, allocations: 5.781 kB / 0.7354 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.01146, allocations: 55.78 kB / 0.7354 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.01148, allocations: 13.22 kB / 0.7355 GB, free: 13.99 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.0001177/0.0116, allocations: 131.1 kB / 0.7356 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.01162, allocations: 19.98 kB / 0.7356 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.01167, allocations: 9.625 kB / 0.7356 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/0.01167, allocations: 0 / 0.7356 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01168, allocations: 4.656 kB / 0.7356 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.01168, allocations: 7.922 kB / 0.7356 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.012, allocations: 276.5 kB / 0.7359 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.012, allocations: 0 / 0.7359 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.01202, allocations: 7.984 kB / 0.7359 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.01203, allocations: 11.91 kB / 0.7359 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01203, allocations: 0 / 0.7359 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.01204, allocations: 5.188 kB / 0.7359 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.01205, allocations: 7.875 kB / 0.7359 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.01205, allocations: 3.984 kB / 0.7359 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.01219, allocations: 206.4 kB / 0.7361 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.01221, allocations: 4.859 kB / 0.7361 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.01225, allocations: 8 kB / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.0123, allocations: 15.91 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.01232, allocations: 9.156 kB / 0.7362 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.897e-05/0.01235, allocations: 24.2 kB / 0.7362 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01235, allocations: 4 kB / 0.7362 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001971/0.01254, allocations: 45.92 kB / 0.7362 GB, free: 13.17 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.0001539/0.0127, allocations: 96.28 kB / 0.7363 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.01298, allocations: 298.3 kB / 0.7366 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.01299, allocations: 4 kB / 0.7366 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.833e-05/0.01304, allocations: 48.78 kB / 0.7366 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.01324, allocations: 37.62 kB / 0.7367 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.01382, allocations: 263.3 kB / 0.7369 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.509e-05/0.01387, allocations: 67.83 kB / 0.737 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.0139, allocations: 10.47 kB / 0.737 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.01401, allocations: 87.34 kB / 0.7371 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/0.01401, allocations: 0.5 kB / 0.7371 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.004474/0.01849, allocations: 2.573 MB / 0.7396 GB, free: 9.766 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.136998052708805]