Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 114.2 kB / 17.13 MB, free: 5.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 194 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 443.5 MB / 0.7293 GB, free: 14.42 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 71.89 kB / 1.057 GB, free: 1.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.332, allocations: 160.7 MB / 1.214 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00227/0.3342, allocations: 0.7049 MB / 1.215 GB, free: 96 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3363, allocations: 1.265 MB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.3364, allocations: 4 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.3364, allocations: 7.922 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.864e-05/0.3365, allocations: 23.8 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3376, allocations: 317.4 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.338, allocations: 255.6 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3381, allocations: 12.19 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.3383, allocations: 107.8 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.3385, allocations: 95.73 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.3386, allocations: 20 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3387, allocations: 35.98 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.3387, allocations: 15.98 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.3389, allocations: 79.75 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.3392, allocations: 223.3 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3393, allocations: 0 / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3393, allocations: 3.938 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3393, allocations: 0 / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008397/0.3401, allocations: 0.4924 MB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3401, allocations: 12.03 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.3402, allocations: 12.89 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3405, allocations: 176.2 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.3405, allocations: 8.375 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.3405, allocations: 20.36 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3407, allocations: 54.23 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3407, allocations: 3.938 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3407, allocations: 4 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3407, allocations: 0 / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.3408, allocations: 23.98 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/0.3415, allocations: 416.5 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.068e-05/0.3416, allocations: 30.56 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.3416, allocations: 16.86 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.3416, allocations: 3.938 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.3418, allocations: 111.3 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3418, allocations: 0 / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003494/0.3422, allocations: 137.5 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3422, allocations: 51.41 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3423, allocations: 140.7 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.3424, allocations: 41.69 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.3425, allocations: 88.14 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.3425, allocations: 23.92 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.3427, allocations: 73.67 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3429, allocations: 322.8 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.3431, allocations: 91.94 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.3433, allocations: 132.4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.3437, allocations: 239 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3437, allocations: 0 / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006853/0.3444, allocations: 378.6 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.3446, allocations: 101 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3446, allocations: 4 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3446, allocations: 0 / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.243e-05/0.3446, allocations: 11.94 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3446, allocations: 4 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.3451, allocations: 87.92 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.3452, allocations: 19.98 kB / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001989/0.3454, allocations: 135.4 kB / 1.22 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.3454, allocations: 7.953 kB / 1.22 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.3454, allocations: 8.375 kB / 1.22 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3454, allocations: 4 kB / 1.22 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3454, allocations: 0 / 1.22 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3454, allocations: 7.938 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.3457, allocations: 197.5 kB / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3457, allocations: 0 / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.3457, allocations: 4 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3457, allocations: 0 / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3457, allocations: 3.984 kB / 1.221 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3457, allocations: 0 / 1.221 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3457, allocations: 0 / 1.221 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.3459, allocations: 140.9 kB / 1.221 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.346, allocations: 96.95 kB / 1.221 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.346, allocations: 7.984 kB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.429e-05/0.346, allocations: 0 / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.3461, allocations: 11.98 kB / 1.221 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3461, allocations: 4 kB / 1.221 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.948e-05/0.3462, allocations: 95.27 kB / 1.221 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3462, allocations: 0 / 1.221 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002843/0.3464, allocations: 44 kB / 1.221 GB, free: 9.18 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002067/0.3466, allocations: 116.6 kB / 1.221 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005616/0.3472, allocations: 333.9 kB / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3472, allocations: 96 / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.3473, allocations: 39.86 kB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3476, allocations: 24.58 kB / 1.222 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.3481, allocations: 212.5 kB / 1.222 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3484, allocations: 0.6924 MB / 1.222 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.3485, allocations: 15.44 kB / 1.222 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.3485, allocations: 0 / 1.222 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of Templates: time 0.004268/0.3527, allocations: 1.888 MB / 1.224 GB, free: 5.781 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.506593558937311]