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.001039/0.001039, allocations: 80.88 kB / 20.75 MB, free: 3.578 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.001139/0.001139, allocations: 165 kB / 24.17 MB, free: 168 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 0.9747/0.9747, allocations: 177.1 MB / 204.6 MB, free: 5.109 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.947/1.947, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.904e-06/1.904e-06, allocations: 1.203 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.612e-05, allocations: 10.2 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00143/0.001457, allocations: 0.7742 MB / 0.7608 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.002704, allocations: 1.299 MB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.00276, allocations: 4 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.002799, allocations: 16.7 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.002878, allocations: 24.23 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.003365, allocations: 246.5 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.003593, allocations: 252 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.003706, allocations: 54.89 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.003856, allocations: 155.7 kB / 0.7628 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.003975, allocations: 76.77 kB / 0.7629 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.004004, allocations: 20 kB / 0.7629 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.004069, allocations: 37.23 kB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.004102, allocations: 35.89 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.004161, allocations: 67.86 kB / 0.763 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.004353, allocations: 188.7 kB / 0.7632 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.004355, allocations: 0 / 0.7632 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004356, allocations: 0 / 0.7632 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004359, allocations: 0 / 0.7632 GB, free: 3.43 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.0003983/0.004758, allocations: 392.8 kB / 0.7636 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.00479, allocations: 8.719 kB / 0.7636 GB, free: 3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.004839, allocations: 32.91 kB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.005002, allocations: 147.2 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.00502, allocations: 16.36 kB / 0.7638 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.005047, allocations: 20.38 kB / 0.7638 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.005169, allocations: 98.16 kB / 0.7639 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.005179, allocations: 4.875 kB / 0.7639 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.005191, allocations: 8.359 kB / 0.7639 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005197, allocations: 5.062 kB / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.005243, allocations: 39.92 kB / 0.7639 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.005595, allocations: 256.6 kB / 0.7642 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.005696, allocations: 67.41 kB / 0.7642 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.005722, allocations: 24.84 kB / 0.7643 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-06/0.005727, allocations: 2.188 kB / 0.7643 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.005888, allocations: 123.4 kB / 0.7644 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.00589, allocations: 0 / 0.7644 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002068/0.006096, allocations: 136.2 kB / 0.7645 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.006145, allocations: 60.88 kB / 0.7646 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.006241, allocations: 149.4 kB / 0.7647 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.006269, allocations: 33.7 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.006329, allocations: 118.3 kB / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.006349, allocations: 31.73 kB / 0.7649 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.006423, allocations: 69.64 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.006517, allocations: 322.8 kB / 0.7653 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/0.006612, allocations: 103.4 kB / 0.7654 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.006734, allocations: 170.9 kB / 0.7655 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.006875, allocations: 186.9 kB / 0.7657 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006877, allocations: 2.75 kB / 0.7657 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002616/0.007139, allocations: 298.6 kB / 0.766 GB, free: 304 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/0.007206, allocations: 67.39 kB / 0.766 GB, free: 224 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.007214, allocations: 4.688 kB / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.007232, allocations: 0 / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.429e-05/0.007256, allocations: 9.094 kB / 0.7661 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.007262, allocations: 4 kB / 0.7661 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.007475, allocations: 58.06 kB / 0.7661 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.007497, allocations: 11.98 kB / 0.7661 GB, free: 140 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.0001406/0.007638, allocations: 134.4 kB / 0.7663 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.00766, allocations: 17.27 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.007704, allocations: 12.77 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.007709, allocations: 4 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.007712, allocations: 0.6562 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.007719, allocations: 4.781 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.007997, allocations: 274.5 kB / 0.7666 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.008, allocations: 0.5625 kB / 0.7666 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.00801, allocations: 4 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.008013, allocations: 3.312 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.008023, allocations: 4 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.008027, allocations: 7.984 kB / 0.7666 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.008029, allocations: 0 / 0.7666 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.008205, allocations: 210 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.008217, allocations: 15.89 kB / 0.7668 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.008234, allocations: 7.984 kB / 0.7668 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.008272, allocations: 7.984 kB / 0.7668 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.008307, allocations: 11.92 kB / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.008326, allocations: 15.08 kB / 0.7668 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.052e-05/0.008347, allocations: 12.86 kB / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008347, allocations: 0 / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001933/0.00854, allocations: 51.92 kB / 0.7669 GB, free: 15.31 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.0001844/0.008724, allocations: 96.33 kB / 0.767 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.00901, allocations: 292.2 kB / 0.7673 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.009016, allocations: 8.938 kB / 0.7673 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/0.009073, allocations: 48.77 kB / 0.7673 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.009263, allocations: 30.44 kB / 0.7674 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.009594, allocations: 256.2 kB / 0.7676 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.009633, allocations: 67.84 kB / 0.7677 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.009665, allocations: 9.141 kB / 0.7677 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.009768, allocations: 87.34 kB / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of SimCode: time 1.082e-06/0.009769, allocations: 3.031 kB / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.004159/0.01393, allocations: 2.477 MB / 0.7702 GB, free: 12.01 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 -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.217690329998732]