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.001358/0.001358, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.00163/0.00163, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 18.57 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.052/1.052, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.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.992/1.992, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 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.863e-06/1.863e-06, allocations: 0 / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.685e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001391/0.001408, allocations: 0.8194 MB / 0.7609 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.002724, allocations: 1.306 MB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.002777, allocations: 0 / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.002818, allocations: 12.47 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.188e-05/0.00291, allocations: 21.42 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.003429, allocations: 254.3 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.003686, allocations: 252.7 kB / 0.7627 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.003829, allocations: 51.02 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.003998, allocations: 155.7 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.004131, allocations: 81.03 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.004162, allocations: 20 kB / 0.763 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.004238, allocations: 28 kB / 0.763 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.004268, allocations: 37.14 kB / 0.763 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.004331, allocations: 71.86 kB / 0.7631 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.004514, allocations: 191.4 kB / 0.7633 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004516, allocations: 1.031 kB / 0.7633 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004516, allocations: 0 / 0.7633 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.00452, allocations: 0 / 0.7633 GB, free: 3.348 MB / 0.7136 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.0004155/0.004935, allocations: 384.4 kB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.004969, allocations: 13.53 kB / 0.7636 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.005016, allocations: 32.89 kB / 0.7637 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.005183, allocations: 149.5 kB / 0.7638 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.005202, allocations: 12.38 kB / 0.7638 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.005231, allocations: 21.58 kB / 0.7639 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.005347, allocations: 101.2 kB / 0.7639 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.005356, allocations: 4.125 kB / 0.764 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.005367, allocations: 9.875 kB / 0.764 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.005375, allocations: 8.359 kB / 0.764 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.005418, allocations: 35.92 kB / 0.764 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.005737, allocations: 260.3 kB / 0.7643 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.191e-05/0.005819, allocations: 63.27 kB / 0.7643 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.005842, allocations: 28.84 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-06/0.005845, allocations: 0.75 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.005979, allocations: 117.6 kB / 0.7645 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.00598, allocations: 3.938 kB / 0.7645 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0001687/0.006149, allocations: 133.5 kB / 0.7646 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.006185, allocations: 59.34 kB / 0.7646 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.006272, allocations: 153.8 kB / 0.7648 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.006293, allocations: 37.7 kB / 0.7648 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.006345, allocations: 110.2 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.006367, allocations: 35.72 kB / 0.765 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.006439, allocations: 69.64 kB / 0.765 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.006539, allocations: 322.8 kB / 0.7653 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.006623, allocations: 97.81 kB / 0.7654 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.00674, allocations: 169.8 kB / 0.7656 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.006888, allocations: 198.8 kB / 0.7658 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00689, allocations: 0 / 0.7658 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002493/0.00714, allocations: 291.8 kB / 0.7661 GB, free: 228 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.007195, allocations: 69.61 kB / 0.7661 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.007204, allocations: 4 kB / 0.7661 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.007224, allocations: 11.92 kB / 0.7661 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.867e-05/0.007253, allocations: 10.94 kB / 0.7662 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.007259, allocations: 4 kB / 0.7662 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.007437, allocations: 51.78 kB / 0.7662 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.007458, allocations: 12 kB / 0.7662 GB, free: 56 kB / 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.0001165/0.007575, allocations: 133.4 kB / 0.7663 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.007601, allocations: 15.98 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.007635, allocations: 12.78 kB / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007638, allocations: 0 / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.007643, allocations: 4 kB / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.007651, allocations: 7.922 kB / 0.7664 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.007882, allocations: 274.6 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.007884, allocations: 1.562 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.007896, allocations: 11.92 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.007898, allocations: 0 / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.007905, allocations: 0 / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.007907, allocations: 5.125 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007908, allocations: 0 / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.008031, allocations: 215.3 kB / 0.7669 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.008042, allocations: 12.56 kB / 0.7669 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.008055, allocations: 3.984 kB / 0.7669 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.474e-05/0.00809, allocations: 4.656 kB / 0.7669 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.008122, allocations: 19.91 kB / 0.7669 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.008137, allocations: 8.625 kB / 0.7669 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.919e-05/0.008156, allocations: 16.84 kB / 0.7669 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.008156, allocations: 0.6875 kB / 0.7669 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001722/0.008328, allocations: 52.45 kB / 0.767 GB, free: 15.23 MB / 0.7292 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.000116/0.008444, allocations: 96.23 kB / 0.7671 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.008699, allocations: 296.5 kB / 0.7674 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.008705, allocations: 8 kB / 0.7674 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.008753, allocations: 49.73 kB / 0.7674 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.008915, allocations: 28.56 kB / 0.7674 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.009238, allocations: 249.9 kB / 0.7677 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.009285, allocations: 68.5 kB / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.009314, allocations: 11.23 kB / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.009423, allocations: 87.33 kB / 0.7678 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.009424, allocations: 3.938 kB / 0.7678 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.0043/0.01372, allocations: 2.48 MB / 0.7703 GB, free: 11.93 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.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.1631635702215135]