Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001476/0.001476, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001902/0.001902, allocations: 161 kB / 24.17 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 0.9895/0.9895, allocations: 177.1 MB / 204.6 MB, free: 5.496 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 2.027/2.027, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.473e-05, allocations: 3.594 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001503/0.001528, allocations: 0.7196 MB / 0.7608 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.002779, allocations: 1.241 MB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.002818, allocations: 0 / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.002843, allocations: 3.938 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.002918, allocations: 7.938 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.003369, allocations: 215.2 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.003549, allocations: 173.6 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.713e-05/0.003616, allocations: 7.984 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.003722, allocations: 97.56 kB / 0.7625 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.003818, allocations: 52.59 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.003841, allocations: 12 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.00392, allocations: 28.75 kB / 0.7626 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.003938, allocations: 11.97 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.003986, allocations: 48.59 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004137, allocations: 139.6 kB / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.00414, allocations: 6.172 kB / 0.7628 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004141, allocations: 0 / 0.7628 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004144, allocations: 0 / 0.7628 GB, free: 3.859 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003115/0.004456, allocations: 324.2 kB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.004486, allocations: 8.031 kB / 0.7631 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.004522, allocations: 20.92 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.004823, allocations: 119.3 kB / 0.7632 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.004842, allocations: 4.375 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.004859, allocations: 8.375 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.094e-05/0.00492, allocations: 42.25 kB / 0.7633 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004927, allocations: 1.438 kB / 0.7633 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.004935, allocations: 4.359 kB / 0.7633 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.00494, allocations: 384 / 0.7633 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.004955, allocations: 7.938 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.005186, allocations: 189.3 kB / 0.7635 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.882e-05/0.005234, allocations: 22.58 kB / 0.7635 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.005248, allocations: 11.8 kB / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.005256, allocations: 7.984 kB / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.65e-05/0.005343, allocations: 75.25 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.005344, allocations: 4 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001191/0.005463, allocations: 69.59 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.005491, allocations: 55.41 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.005558, allocations: 125.4 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.005576, allocations: 29.7 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.005616, allocations: 96.06 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.005627, allocations: 11.95 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.005683, allocations: 41.67 kB / 0.764 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.005761, allocations: 322.8 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.00584, allocations: 103.3 kB / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.00592, allocations: 131.6 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.286e-05/0.006013, allocations: 137.4 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006015, allocations: 0.9062 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002377/0.006252, allocations: 264.8 kB / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.006303, allocations: 73.17 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.006312, allocations: 3.938 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.006326, allocations: 7.984 kB / 0.765 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.026e-05/0.006347, allocations: 4 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.00635, allocations: 3.938 kB / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.006506, allocations: 39.91 kB / 0.765 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.006524, allocations: 12 kB / 0.765 GB, free: 1.27 MB / 0.7136 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.005e-05/0.006594, allocations: 128.7 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.006604, allocations: 4 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.006624, allocations: 8.375 kB / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006626, allocations: 4 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006628, allocations: 0 / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006631, allocations: 0 / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.091e-05/0.006702, allocations: 77.88 kB / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.006703, allocations: 1.625 kB / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.006717, allocations: 4 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006719, allocations: 3.984 kB / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.006723, allocations: 0 / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006724, allocations: 2.625 kB / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.006728, allocations: 7.875 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.675e-05/0.006805, allocations: 85.39 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.006813, allocations: 7.953 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.006822, allocations: 4 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.006834, allocations: 0 / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.00686, allocations: 11.92 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.006863, allocations: 3.812 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.662e-05/0.00688, allocations: 21.3 kB / 0.7654 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00688, allocations: 0 / 0.7654 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001319/0.007012, allocations: 32 kB / 0.7654 GB, free: 0.8281 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: 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 0.0001023/0.007114, allocations: 84.34 kB / 0.7655 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.0073, allocations: 259 kB / 0.7658 GB, free: 456 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.007302, allocations: 0 / 0.7658 GB, free: 456 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-05/0.007324, allocations: 24.06 kB / 0.7658 GB, free: 432 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.007439, allocations: 28.33 kB / 0.7658 GB, free: 404 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.007655, allocations: 149.1 kB / 0.766 GB, free: 224 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.007692, allocations: 63.34 kB / 0.766 GB, free: 140 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.007713, allocations: 4 kB / 0.766 GB, free: 136 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.787e-05/0.007811, allocations: 80.84 kB / 0.7661 GB, free: 56 kB / 0.7136 GB Notification: Performance of SimCode: time 7.52e-07/0.007812, allocations: 0 / 0.7661 GB, free: 56 kB / 0.7136 GB Notification: Performance of Templates: time 0.003783/0.01159, allocations: 2.219 MB / 0.7683 GB, free: 13.96 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.20737896906212]