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.001769/0.001769, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00195/0.00195, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.538/1.538, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.892/2.892, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 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.002024/0.002024, allocations: 63.91 kB / 1.107 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248/1.25, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00213/1.252, allocations: 0.7096 MB / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001739/1.254, allocations: 1.268 MB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/1.254, allocations: 0.7812 kB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/1.254, allocations: 3.938 kB / 1.274 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.622e-05/1.254, allocations: 21.72 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008751/1.255, allocations: 312.3 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003567/1.255, allocations: 260.5 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/1.255, allocations: 10.47 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/1.255, allocations: 102.6 kB / 1.275 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/1.255, allocations: 94 kB / 1.275 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/1.256, allocations: 22.75 kB / 1.275 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/1.256, allocations: 36.42 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/1.256, allocations: 20.8 kB / 1.275 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/1.256, allocations: 92.22 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/1.256, allocations: 212.5 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.256, allocations: 0.8438 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/1.256, allocations: 0 / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.256, allocations: 0.9062 kB / 1.275 GB, free: 6.059 MB / 0.9981 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.000586/1.257, allocations: 499.5 kB / 1.276 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.257, allocations: 9.656 kB / 1.276 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.077e-05/1.257, allocations: 18.77 kB / 1.276 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.891e-05/1.257, allocations: 173.4 kB / 1.276 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/1.257, allocations: 8.906 kB / 1.276 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/1.257, allocations: 17.38 kB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/1.257, allocations: 64.38 kB / 1.276 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.257, allocations: 3.938 kB / 1.276 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/1.257, allocations: 3.391 kB / 1.276 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.257, allocations: 4.812 kB / 1.276 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/1.257, allocations: 20.75 kB / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/1.258, allocations: 416 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.407e-05/1.258, allocations: 37.27 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/1.258, allocations: 16.89 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/1.258, allocations: 1.25 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/1.258, allocations: 97.53 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/1.258, allocations: 0 / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0003373/1.258, allocations: 137.2 kB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/1.258, allocations: 59.88 kB / 1.277 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.259, allocations: 136.5 kB / 1.277 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/1.259, allocations: 34.7 kB / 1.277 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/1.259, allocations: 97.53 kB / 1.277 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/1.259, allocations: 28.58 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/1.259, allocations: 71 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.176e-05/1.259, allocations: 324.8 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/1.259, allocations: 87.16 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/1.259, allocations: 136.5 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/1.26, allocations: 232.3 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.26, allocations: 0.9375 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006076/1.26, allocations: 386.1 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.079e-05/1.26, allocations: 95.97 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.26, allocations: 2.25 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.26, allocations: 4 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.797e-05/1.26, allocations: 11.12 kB / 1.278 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.26, allocations: 6.844 kB / 1.278 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/1.261, allocations: 76.67 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/1.261, allocations: 23.22 kB / 1.278 GB, free: 3.469 MB / 0.9981 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 9.745e-05/1.261, allocations: 133.8 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/1.261, allocations: 12.3 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/1.261, allocations: 9.406 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.261, allocations: 5.797 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.261, allocations: 0 / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.261, allocations: 2.359 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/1.261, allocations: 196 kB / 1.279 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.261, allocations: 1.312 kB / 1.279 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.055e-05/1.261, allocations: 5.156 kB / 1.279 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.261, allocations: 0.9062 kB / 1.279 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.261, allocations: 11.41 kB / 1.279 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/1.261, allocations: 0.9062 kB / 1.279 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.261, allocations: 0 / 1.279 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/1.261, allocations: 137.7 kB / 1.279 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/1.261, allocations: 84.31 kB / 1.279 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/1.261, allocations: 10.52 kB / 1.279 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.273e-05/1.261, allocations: 1.828 kB / 1.279 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/1.261, allocations: 6.406 kB / 1.279 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/1.261, allocations: 12.69 kB / 1.279 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.851e-05/1.262, allocations: 98.75 kB / 1.279 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.262, allocations: 0.9375 kB / 1.279 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002695/1.262, allocations: 46.44 kB / 1.279 GB, free: 2.801 MB / 0.9981 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.0001687/1.262, allocations: 107.7 kB / 1.279 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004608/1.262, allocations: 331.2 kB / 1.279 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.262, allocations: 4.125 kB / 1.279 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/1.262, allocations: 26.95 kB / 1.279 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/1.263, allocations: 28.33 kB / 1.279 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/1.263, allocations: 194.5 kB / 1.28 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/1.263, allocations: 0.697 MB / 1.28 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.285e-05/1.263, allocations: 11.75 kB / 1.28 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/1.263, allocations: 13.48 kB / 1.28 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.263, allocations: 0 / 1.28 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of Templates: time 0.00728/1.271, allocations: 2.648 MB / 1.283 GB, free: 1.348 MB / 0.9981 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.824857849627733]