Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.0009425/0.0009425, 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.0009002/0.0009002, allocations: 161.4 kB / 24.17 MB, free: 328 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.9285/0.9285, allocations: 177.1 MB / 204.6 MB, free: 5.461 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.858/1.858, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.651e-05, allocations: 7.406 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001333/0.001359, allocations: 0.6213 MB / 0.7606 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.002513, allocations: 1.167 MB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.00255, allocations: 0 / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.002577, allocations: 4.469 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.002646, allocations: 6.438 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.003012, allocations: 120.5 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.003139, allocations: 87.11 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.882e-05/0.003208, allocations: 8.531 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.003301, allocations: 53.36 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.003381, allocations: 21.78 kB / 0.7621 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.003399, allocations: 8 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.346e-05/0.003452, allocations: 21.34 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.003471, allocations: 4.875 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.003505, allocations: 26.16 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.003624, allocations: 81.08 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003626, allocations: 1.438 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003628, allocations: 0 / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003632, allocations: 0 / 0.7622 GB, free: 4.438 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003062/0.003938, allocations: 262.7 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.003969, allocations: 12.66 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.004001, allocations: 9.578 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.539e-05/0.004076, allocations: 114.2 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.004087, allocations: 5.531 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.004102, allocations: 4.375 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.858e-05/0.00416, allocations: 34.25 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.004167, allocations: 1.281 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.004175, allocations: 5.234 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004181, allocations: 4.375 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.004196, allocations: 13.12 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.00439, allocations: 152.3 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.528e-05/0.004425, allocations: 18.58 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.278e-06/0.004435, allocations: 9.953 kB / 0.7628 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-06/0.004438, allocations: 0 / 0.7628 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.314e-05/0.004511, allocations: 59.91 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.004512, allocations: 0.6562 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001012/0.004613, allocations: 55.36 kB / 0.7629 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.004644, allocations: 51.41 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.004701, allocations: 114.6 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.004717, allocations: 25.7 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.00475, allocations: 94.55 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.004758, allocations: 3.953 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.004797, allocations: 29.69 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.004873, allocations: 310.8 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.004918, allocations: 51.03 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/0.004963, allocations: 72.19 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/0.005019, allocations: 77 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005021, allocations: 0.6562 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001191/0.00514, allocations: 145.7 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.005167, allocations: 29.7 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005171, allocations: 4.875 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.005184, allocations: 8.969 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.577e-05/0.0052, allocations: 5.297 kB / 0.7639 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.005203, allocations: 4 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.519e-05/0.005299, allocations: 20.3 kB / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.00531, allocations: 4.594 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 5.893e-05/0.005369, allocations: 112 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.005376, allocations: 3.984 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.005396, allocations: 15.69 kB / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.005398, allocations: 3.938 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.0054, allocations: 0 / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005403, allocations: 3.094 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.662e-05/0.00546, allocations: 65.89 kB / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.005461, allocations: 0 / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.005465, allocations: 4 kB / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005466, allocations: 0 / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-06/0.005469, allocations: 0 / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.005469, allocations: 0.9844 kB / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005471, allocations: 2.328 kB / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.36e-05/0.005534, allocations: 76.97 kB / 0.7642 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.005542, allocations: 8 kB / 0.7642 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.005549, allocations: 3.984 kB / 0.7642 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.005556, allocations: 0 / 0.7642 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.005575, allocations: 3.938 kB / 0.7642 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.005579, allocations: 9.031 kB / 0.7642 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.439e-05/0.005594, allocations: 12.84 kB / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.005594, allocations: 1.594 kB / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001123/0.005706, allocations: 15.94 kB / 0.7643 GB, free: 2.086 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001048/0.005811, allocations: 77.3 kB / 0.7643 GB, free: 2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.005933, allocations: 132.6 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.005936, allocations: 4 kB / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.005951, allocations: 16.78 kB / 0.7645 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.006057, allocations: 8 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002047/0.006262, allocations: 120.5 kB / 0.7646 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.006295, allocations: 70 kB / 0.7647 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.444e-05/0.006309, allocations: 0 / 0.7647 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.006373, allocations: 67.36 kB / 0.7647 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of SimCode: time 6.02e-07/0.006373, allocations: 0 / 0.7647 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of Templates: time 0.002744/0.009118, allocations: 1.256 MB / 0.766 GB, free: 348 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.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: 4.93884743982926]