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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002621/0.002621, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003243/0.003243, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.404/3.404, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.294e-06/2.294e-06, allocations: 0 / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.436e-05, allocations: 6.312 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001899/0.001934, allocations: 0.7024 MB / 0.8781 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.003875, allocations: 1.288 MB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.003936, allocations: 4 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.003963, allocations: 3.938 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.004071, allocations: 26.73 kB / 0.8794 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.004905, allocations: 301.3 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.005274, allocations: 255.5 kB / 0.88 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.00537, allocations: 12.81 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.005602, allocations: 143.8 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.005773, allocations: 69.75 kB / 0.8802 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.005833, allocations: 24 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.005928, allocations: 35.98 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.005961, allocations: 15.92 kB / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.006075, allocations: 75.86 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.006449, allocations: 270.9 kB / 0.8806 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006451, allocations: 0 / 0.8806 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.006452, allocations: 3.938 kB / 0.8806 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.006456, allocations: 3.938 kB / 0.8806 GB, free: 3.438 MB / 0.8386 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.0006964/0.007152, allocations: 0.5127 MB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.007188, allocations: 8.031 kB / 0.8811 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.601e-05/0.007274, allocations: 24.89 kB / 0.8811 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.007414, allocations: 108.6 kB / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.00745, allocations: 8.375 kB / 0.8812 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.007495, allocations: 21.3 kB / 0.8813 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.007619, allocations: 50.23 kB / 0.8813 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.007629, allocations: 4.188 kB / 0.8813 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.007638, allocations: 1.406 kB / 0.8813 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.007645, allocations: 4.125 kB / 0.8813 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/0.007711, allocations: 31.91 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.008308, allocations: 380.7 kB / 0.8817 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.353e-05/0.008401, allocations: 35.06 kB / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.008448, allocations: 24.83 kB / 0.8818 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.008461, allocations: 4 kB / 0.8818 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.008654, allocations: 117.8 kB / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.008655, allocations: 0 / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003737/0.009029, allocations: 145.5 kB / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.009085, allocations: 56 kB / 0.8821 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.009276, allocations: 201 kB / 0.8823 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.009336, allocations: 34.3 kB / 0.8823 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.009465, allocations: 151.6 kB / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.009494, allocations: 23.92 kB / 0.8825 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.009644, allocations: 80.2 kB / 0.8825 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002822/0.009927, allocations: 0.4962 MB / 0.883 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.01024, allocations: 201 kB / 0.8832 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.01061, allocations: 276.2 kB / 0.8835 GB, free: 212 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.01098, allocations: 267.7 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01098, allocations: 0 / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008288/0.01181, allocations: 0.52 MB / 0.8842 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.0119, allocations: 93.84 kB / 0.8843 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.0119, allocations: 4 kB / 0.8843 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.01192, allocations: 3.531 kB / 0.8843 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.242e-05/0.01194, allocations: 7.938 kB / 0.8844 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.01196, allocations: 11.92 kB / 0.8844 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.01235, allocations: 59.84 kB / 0.8844 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.0124, allocations: 15.98 kB / 0.8844 GB, free: 15.13 MB / 0.8542 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.0001585/0.01256, allocations: 177.2 kB / 0.8846 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.01258, allocations: 20.08 kB / 0.8846 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.01261, allocations: 12.44 kB / 0.8846 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01262, allocations: 0 / 0.8846 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01262, allocations: 0 / 0.8846 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01262, allocations: 0 / 0.8846 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.01279, allocations: 148.5 kB / 0.8848 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.01279, allocations: 4 kB / 0.8848 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-06/0.0128, allocations: 4 kB / 0.8848 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.01281, allocations: 15.84 kB / 0.8848 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01283, allocations: 8 kB / 0.8848 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01283, allocations: 0 / 0.8848 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01283, allocations: 4 kB / 0.8848 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.01306, allocations: 156.3 kB / 0.885 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.01308, allocations: 7.953 kB / 0.885 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.0131, allocations: 3.938 kB / 0.885 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.01313, allocations: 4 kB / 0.885 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.01318, allocations: 7.984 kB / 0.885 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.01319, allocations: 4 kB / 0.885 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001064/0.01329, allocations: 147.2 kB / 0.8851 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01329, allocations: 0 / 0.8851 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002649/0.01356, allocations: 44 kB / 0.8852 GB, free: 14.31 MB / 0.8542 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.0001729/0.01373, allocations: 99.77 kB / 0.8853 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006777/0.01441, allocations: 498.8 kB / 0.8857 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01441, allocations: 0 / 0.8857 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.01449, allocations: 43.67 kB / 0.8858 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.01475, allocations: 28.73 kB / 0.8858 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.0152, allocations: 207.4 kB / 0.886 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.512e-05/0.01529, allocations: 83.2 kB / 0.8861 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.529e-05/0.01533, allocations: 12.48 kB / 0.8861 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.01536, allocations: 12.5 kB / 0.8861 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.01536, allocations: 3.938 kB / 0.8861 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of Templates: time 0.006915/0.02227, allocations: 2.939 MB / 0.889 GB, free: 10.36 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.548604486975819]