Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001265/0.001265, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001426/0.001426, allocations: 203 kB / 22.17 MB, free: 5.211 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.457/1.457, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.92/2.92, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 63.91 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8957/0.8978, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001933/0.8997, allocations: 0.7094 MB / 1.275 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.9014, allocations: 1.268 MB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.9014, allocations: 0 / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.9015, allocations: 3.938 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.9016, allocations: 23.84 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.9024, allocations: 316.8 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.9027, allocations: 263.6 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.9028, allocations: 8.188 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.903, allocations: 99.86 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.9031, allocations: 91.73 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.9032, allocations: 24 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.692e-05/0.9033, allocations: 39.98 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.9033, allocations: 19.91 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.9034, allocations: 83.8 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.9037, allocations: 222 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9037, allocations: 0 / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9037, allocations: 0 / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.9037, allocations: 0 / 1.277 GB, free: 1.242 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.0006482/0.9043, allocations: 0.4924 MB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.9044, allocations: 8.031 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.9045, allocations: 20.89 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.9046, allocations: 179.1 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.9046, allocations: 4.375 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.9047, allocations: 20.38 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.9048, allocations: 50.23 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.9048, allocations: 3.938 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.9048, allocations: 7.984 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.9048, allocations: 4 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.185e-05/0.9049, allocations: 15.94 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.9055, allocations: 424.5 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.9056, allocations: 26.58 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.9056, allocations: 18.48 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.9056, allocations: 4 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.9058, allocations: 99.28 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.9058, allocations: 4 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003425/0.9061, allocations: 141.5 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.9062, allocations: 55.41 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.9063, allocations: 133.8 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.9063, allocations: 37.7 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.9064, allocations: 96.12 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.9064, allocations: 27.86 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.9066, allocations: 65.67 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9067, allocations: 326.8 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.9069, allocations: 87.95 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.9071, allocations: 137.9 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.9074, allocations: 235.8 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9074, allocations: 0 / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006203/0.908, allocations: 395 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.203e-05/0.9081, allocations: 105.3 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.9081, allocations: 3.984 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.9081, allocations: 8 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.222e-05/0.9082, allocations: 0 / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.9082, allocations: 4 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.9087, allocations: 75.86 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.9087, allocations: 23.98 kB / 1.28 GB, free: 13.62 MB / 0.9825 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.0001339/0.9088, allocations: 133.7 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.9089, allocations: 11.94 kB / 1.28 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.9089, allocations: 12.38 kB / 1.28 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.9089, allocations: 0 / 1.28 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9089, allocations: 0 / 1.28 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.9089, allocations: 0 / 1.28 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.9091, allocations: 197.5 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9091, allocations: 4 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.9091, allocations: 4 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9091, allocations: 0 / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.9091, allocations: 0 / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9091, allocations: 4 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9091, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.9093, allocations: 145.2 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.9093, allocations: 89.06 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.9094, allocations: 4 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.702e-05/0.9094, allocations: 4 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.9094, allocations: 11.98 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.9094, allocations: 4 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.645e-05/0.9095, allocations: 99.19 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9095, allocations: 0 / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002635/0.9098, allocations: 44 kB / 1.281 GB, free: 12.77 MB / 0.9825 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.0001978/0.91, allocations: 106.2 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004956/0.9105, allocations: 330 kB / 1.281 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9105, allocations: 0 / 1.281 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.013e-05/0.9105, allocations: 31.92 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.9108, allocations: 31.53 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.9112, allocations: 205 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.9115, allocations: 0.6963 MB / 1.282 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.9115, allocations: 8.422 kB / 1.282 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.9116, allocations: 11.44 kB / 1.282 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.9116, allocations: 0 / 1.282 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of Templates: time 0.008064/0.9196, allocations: 2.644 MB / 1.285 GB, free: 8.66 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.792486354708672]