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.001602/0.001602, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001943/0.001943, allocations: 189.3 kB / 22.23 MB, free: 5.105 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.557/1.557, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002031/0.002031, allocations: 63.89 kB / 1.11 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.119, allocations: 168.8 MB / 1.274 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.004703/1.124, allocations: 0.6978 MB / 1.275 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003652/1.127, allocations: 1.276 MB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/1.127, allocations: 0 / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.908e-05/1.128, allocations: 3.938 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/1.128, allocations: 19.86 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/1.13, allocations: 308.5 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006829/1.13, allocations: 267.5 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/1.13, allocations: 16.16 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/1.131, allocations: 99.86 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/1.131, allocations: 91.75 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/1.131, allocations: 24 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/1.131, allocations: 35.98 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/1.131, allocations: 15.92 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003142/1.132, allocations: 83.81 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000675/1.132, allocations: 221.7 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/1.132, allocations: 4 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.015e-06/1.132, allocations: 4 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.909e-06/1.132, allocations: 0 / 1.277 GB, free: 1.082 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.001266/1.134, allocations: 423 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.098e-05/1.134, allocations: 12.03 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/1.134, allocations: 12.89 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/1.134, allocations: 126.4 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/1.134, allocations: 4.375 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/1.134, allocations: 20.38 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/1.135, allocations: 62.2 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/1.135, allocations: 11.88 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/1.135, allocations: 0 / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.135, allocations: 0 / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.837e-05/1.135, allocations: 19.98 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/1.136, allocations: 383.8 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/1.136, allocations: 32.14 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/1.136, allocations: 20.88 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/1.136, allocations: 4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004435/1.137, allocations: 95.36 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/1.137, allocations: 0 / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004616/1.137, allocations: 141.5 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/1.137, allocations: 63.39 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/1.137, allocations: 132.6 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/1.137, allocations: 41.7 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/1.138, allocations: 96.05 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/1.138, allocations: 27.78 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/1.138, allocations: 69.61 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000265/1.138, allocations: 318.8 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/1.138, allocations: 91.94 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/1.139, allocations: 140.4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/1.139, allocations: 228.3 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.139, allocations: 4 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006823/1.14, allocations: 390.4 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/1.14, allocations: 101.1 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.14, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/1.14, allocations: 4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.464e-05/1.14, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.14, allocations: 4 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/1.14, allocations: 84.03 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/1.14, allocations: 27.86 kB / 1.28 GB, free: 13.66 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.0002182/1.141, allocations: 135.9 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/1.141, allocations: 7.953 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/1.141, allocations: 16.38 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.141, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.141, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.141, allocations: 7.984 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/1.141, allocations: 156.7 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.141, allocations: 0 / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/1.141, allocations: 4 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/1.141, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/1.141, allocations: 3.984 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.141, allocations: 7.938 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.141, allocations: 0 / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/1.141, allocations: 149.3 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/1.141, allocations: 7.891 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/1.141, allocations: 7.984 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/1.141, allocations: 0 / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/1.141, allocations: 11.98 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/1.141, allocations: 4 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.267e-05/1.141, allocations: 95.27 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/1.141, allocations: 4 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002883/1.142, allocations: 43.98 kB / 1.281 GB, free: 12.95 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.0001939/1.142, allocations: 107.2 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006803/1.143, allocations: 329.9 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.143, allocations: 0 / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/1.143, allocations: 31.98 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/1.143, allocations: 30.48 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/1.144, allocations: 188.5 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/1.144, allocations: 0.6924 MB / 1.282 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.83e-05/1.144, allocations: 12.41 kB / 1.282 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/1.144, allocations: 19.44 kB / 1.282 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of SimCode: time 8.52e-07/1.144, allocations: 0 / 1.282 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.008317/1.153, allocations: 2.651 MB / 1.285 GB, free: 8.824 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.47628509812057]