Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00134/0.00134, allocations: 112.8 kB / 17.08 MB, free: 6.012 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.00135/0.00135, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.488/1.488, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.127/3.127, allocations: 489.3 MB / 0.7687 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 67.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.006, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001724/1.008, allocations: 0.7134 MB / 1.263 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001497/1.009, allocations: 1.263 MB / 1.265 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/1.009, allocations: 0.9062 kB / 1.265 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/1.009, allocations: 5.438 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.946e-05/1.01, allocations: 19.91 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/1.01, allocations: 308.7 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003276/1.011, allocations: 279.6 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/1.011, allocations: 17.84 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/1.011, allocations: 100 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/1.011, allocations: 91.55 kB / 1.265 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/1.011, allocations: 26.91 kB / 1.265 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/1.011, allocations: 37.42 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/1.011, allocations: 14.38 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/1.011, allocations: 83.66 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/1.012, allocations: 223.2 kB / 1.266 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.012, allocations: 1.031 kB / 1.266 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/1.012, allocations: 0 / 1.266 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.879e-06/1.012, allocations: 0 / 1.266 GB, free: 6.16 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.0005066/1.012, allocations: 498.3 kB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/1.012, allocations: 10.47 kB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/1.012, allocations: 19.61 kB / 1.266 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/1.012, allocations: 174 kB / 1.266 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/1.012, allocations: 7.75 kB / 1.266 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/1.013, allocations: 17.7 kB / 1.266 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/1.013, allocations: 52.94 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.013, allocations: 3.938 kB / 1.266 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.013, allocations: 5.234 kB / 1.266 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/1.013, allocations: 5.406 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.83e-05/1.013, allocations: 17.42 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/1.013, allocations: 424.9 kB / 1.267 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.985e-05/1.013, allocations: 29.47 kB / 1.267 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/1.013, allocations: 23.48 kB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/1.013, allocations: 4.453 kB / 1.267 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/1.014, allocations: 97.39 kB / 1.267 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/1.014, allocations: 4 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0003146/1.014, allocations: 141.8 kB / 1.267 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/1.014, allocations: 54.8 kB / 1.267 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/1.014, allocations: 135.2 kB / 1.267 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/1.014, allocations: 35.36 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/1.014, allocations: 97.45 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/1.014, allocations: 25.45 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/1.014, allocations: 66.58 kB / 1.268 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.297e-05/1.014, allocations: 328.4 kB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/1.015, allocations: 91.02 kB / 1.268 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/1.015, allocations: 133.4 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/1.015, allocations: 232.7 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.015, allocations: 0 / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006008/1.016, allocations: 385.6 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.572e-05/1.016, allocations: 106.3 kB / 1.269 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.016, allocations: 0.9375 kB / 1.269 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/1.016, allocations: 2.125 kB / 1.269 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.463e-05/1.016, allocations: 4.188 kB / 1.269 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.016, allocations: 2.422 kB / 1.269 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/1.016, allocations: 80.23 kB / 1.269 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/1.016, allocations: 17.33 kB / 1.269 GB, free: 3.582 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.431e-05/1.017, allocations: 139.2 kB / 1.269 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/1.017, allocations: 8.453 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/1.017, allocations: 11.64 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.017, allocations: 1.781 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.017, allocations: 0 / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.017, allocations: 1.547 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/1.017, allocations: 195 kB / 1.269 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.017, allocations: 5.328 kB / 1.269 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/1.017, allocations: 6.719 kB / 1.269 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.017, allocations: 0.75 kB / 1.269 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.017, allocations: 7.016 kB / 1.269 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.017, allocations: 0.7812 kB / 1.269 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.017, allocations: 3.938 kB / 1.269 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/1.017, allocations: 143.2 kB / 1.269 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/1.017, allocations: 83.14 kB / 1.269 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/1.017, allocations: 7.125 kB / 1.269 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.465e-05/1.017, allocations: 9.469 kB / 1.269 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/1.017, allocations: 6.938 kB / 1.269 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/1.017, allocations: 8.594 kB / 1.269 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.733e-05/1.017, allocations: 95.78 kB / 1.27 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.017, allocations: 0 / 1.27 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002676/1.017, allocations: 43.36 kB / 1.27 GB, free: 2.914 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.000159/1.018, allocations: 109.5 kB / 1.27 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004743/1.018, allocations: 366.7 kB / 1.27 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.018, allocations: 0.8125 kB / 1.27 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/1.018, allocations: 41.09 kB / 1.27 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/1.019, allocations: 20.77 kB / 1.27 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/1.019, allocations: 223.1 kB / 1.27 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/1.019, allocations: 0.6935 MB / 1.271 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/1.019, allocations: 13.77 kB / 1.271 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/1.019, allocations: 0 / 1.271 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of Templates: time 0.004261/1.023, allocations: 1.891 MB / 1.273 GB, free: 1.461 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.738586692139506]