Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0008806/0.0008806, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001013/0.001013, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.568/2.568, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0.6562 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.783e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002168/0.002195, allocations: 0.7077 MB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.004024, allocations: 1.244 MB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.004082, allocations: 4 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.00412, allocations: 3.938 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.004221, allocations: 15.86 kB / 0.8406 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.004833, allocations: 207.5 kB / 0.8408 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.005096, allocations: 171.7 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.005187, allocations: 11.97 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.005359, allocations: 99.88 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.005501, allocations: 51.84 kB / 0.8411 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.005537, allocations: 12 kB / 0.8411 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.895e-05/0.005636, allocations: 31.98 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.005657, allocations: 7.984 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.005732, allocations: 51.89 kB / 0.8412 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.005932, allocations: 135.7 kB / 0.8413 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005935, allocations: 0 / 0.8413 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005936, allocations: 0 / 0.8413 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.00594, allocations: 0 / 0.8413 GB, free: 11.47 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004053/0.006346, allocations: 332.1 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.006381, allocations: 20.56 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.006417, allocations: 12.92 kB / 0.8417 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.006494, allocations: 105.8 kB / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.006507, allocations: 8.375 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.006523, allocations: 8.375 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.263e-05/0.006586, allocations: 46.23 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.006592, allocations: 192 / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.006599, allocations: 4.359 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.006603, allocations: 384 / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.521e-05/0.006618, allocations: 11.88 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.006855, allocations: 192.2 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.981e-05/0.006905, allocations: 22.67 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.00692, allocations: 12.84 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-06/0.006925, allocations: 0 / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.159e-05/0.007006, allocations: 79.36 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.51e-07/0.007007, allocations: 0 / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001177/0.007125, allocations: 73.58 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.007157, allocations: 55.41 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.007228, allocations: 130.6 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.007249, allocations: 29.7 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.00729, allocations: 96.11 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.007302, allocations: 15.91 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.007358, allocations: 41.67 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.007439, allocations: 322.8 kB / 0.8429 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.007518, allocations: 95.38 kB / 0.8429 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.007608, allocations: 131.7 kB / 0.8431 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.007714, allocations: 140 kB / 0.8432 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007716, allocations: 4 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001921/0.007908, allocations: 256.4 kB / 0.8434 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.007955, allocations: 69.89 kB / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.007961, allocations: 7.938 kB / 0.8435 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.007972, allocations: 4 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.155e-05/0.007994, allocations: 7.938 kB / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.007998, allocations: 0 / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.008154, allocations: 48.03 kB / 0.8436 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.008173, allocations: 11.98 kB / 0.8436 GB, free: 8.852 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 7.807e-05/0.008251, allocations: 125.7 kB / 0.8437 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.00826, allocations: 8 kB / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.008284, allocations: 12.38 kB / 0.8437 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008286, allocations: 3.984 kB / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.008288, allocations: 0 / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.00829, allocations: 0 / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.528e-05/0.008356, allocations: 73.88 kB / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.008359, allocations: 4 kB / 0.8438 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/0.008367, allocations: 11.94 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.008368, allocations: 0 / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.008373, allocations: 0 / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.008374, allocations: 0 / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.008376, allocations: 7.938 kB / 0.8438 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.069e-05/0.008446, allocations: 73.11 kB / 0.8439 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.008453, allocations: 4 kB / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.008462, allocations: 0 / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.008474, allocations: 7.984 kB / 0.8439 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.008501, allocations: 7.938 kB / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.008505, allocations: 3.984 kB / 0.8439 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.511e-05/0.00852, allocations: 20.84 kB / 0.8439 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00852, allocations: 0 / 0.8439 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001327/0.008653, allocations: 39.89 kB / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.945e-05/0.008742, allocations: 80.41 kB / 0.8441 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.008924, allocations: 259 kB / 0.8443 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.008927, allocations: 0 / 0.8443 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.008949, allocations: 20.84 kB / 0.8443 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.009053, allocations: 20.17 kB / 0.8443 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.009286, allocations: 141.3 kB / 0.8445 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.009315, allocations: 63.28 kB / 0.8445 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.578e-05/0.009331, allocations: 4 kB / 0.8445 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.337e-05/0.009424, allocations: 87.27 kB / 0.8446 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.009424, allocations: 0 / 0.8446 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of Templates: time 0.003247/0.01267, allocations: 2.23 MB / 0.8468 GB, free: 5.461 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.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.4064741670154035]