Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001381/0.001381, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001591/0.001591, allocations: 157.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.465/1.465, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.731/2.731, allocations: 359.1 MB / 0.6044 GB, free: 14.8 MB / 0.5762 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.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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.89 kB / 0.9515 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3467, allocations: 169.9 MB / 1.117 GB, free: 2.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002025/0.3487, allocations: 0.7286 MB / 1.118 GB, free: 1.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3503, allocations: 1.174 MB / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.3504, allocations: 0 / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.3504, allocations: 3.938 kB / 1.119 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.3505, allocations: 7.875 kB / 1.119 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.351, allocations: 138.9 kB / 1.119 GB, free: 428 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.3512, allocations: 119.8 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.3513, allocations: 19.92 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.3514, allocations: 43.91 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.982e-05/0.3515, allocations: 39.88 kB / 1.12 GB, free: 204 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.3515, allocations: 8 kB / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.784e-05/0.3516, allocations: 24 kB / 1.12 GB, free: 172 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.3516, allocations: 15.92 kB / 1.12 GB, free: 156 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.3517, allocations: 39.89 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.3519, allocations: 115.6 kB / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3519, allocations: 0 / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3519, allocations: 4.047 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3519, allocations: 0 / 1.12 GB, free: 15.99 MB / 1.076 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.0006298/0.3525, allocations: 331.8 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3526, allocations: 8.031 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.3526, allocations: 12.89 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3527, allocations: 114.4 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.3528, allocations: 16.3 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3528, allocations: 4.375 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.353, allocations: 74.14 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.353, allocations: 8.125 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.353, allocations: 7.922 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.353, allocations: 0 / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.3532, allocations: 39.91 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.3537, allocations: 252.5 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3538, allocations: 58.55 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3539, allocations: 40.91 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.354, allocations: 0 / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.3542, allocations: 87.31 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3542, allocations: 0 / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0004517/0.3546, allocations: 145.6 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.3547, allocations: 59.41 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.3548, allocations: 125.7 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3548, allocations: 29.7 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.3549, allocations: 92.12 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.3549, allocations: 19.84 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-05/0.355, allocations: 37.7 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3551, allocations: 318.8 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.3553, allocations: 85.66 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3555, allocations: 110 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3558, allocations: 141.9 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3558, allocations: 0 / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004818/0.3562, allocations: 252.8 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.3563, allocations: 33.83 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3563, allocations: 4 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3563, allocations: 4 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.3564, allocations: 16.05 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3564, allocations: 3.938 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3566, allocations: 39.91 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.3566, allocations: 11.94 kB / 1.122 GB, free: 13.21 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001078/0.3567, allocations: 125.8 kB / 1.122 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.3568, allocations: 7.953 kB / 1.122 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.3568, allocations: 12.42 kB / 1.122 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3568, allocations: 0 / 1.122 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3568, allocations: 0 / 1.122 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3568, allocations: 0 / 1.122 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.3573, allocations: 326 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3573, allocations: 0 / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.3573, allocations: 7.984 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3573, allocations: 7.938 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.3573, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3573, allocations: 4 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3573, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3576, allocations: 211.7 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.3576, allocations: 7.953 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.3577, allocations: 0 / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.3577, allocations: 7.984 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.3578, allocations: 11.98 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3578, allocations: 8 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.397e-05/0.3578, allocations: 91.27 kB / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3578, allocations: 0 / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002624/0.3581, allocations: 24 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001337/0.3582, allocations: 99.23 kB / 1.123 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000397/0.3586, allocations: 196.9 kB / 1.123 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3586, allocations: 4.25 kB / 1.123 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.3588, allocations: 39.97 kB / 1.123 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.359, allocations: 12 kB / 1.123 GB, free: 11.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.3594, allocations: 166.8 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.229e-05/0.3595, allocations: 75.27 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.3595, allocations: 11.98 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.3595, allocations: 12.5 kB / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.3596, allocations: 0 / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of Templates: time 0.004621/0.3642, allocations: 1.57 MB / 1.125 GB, free: 10.1 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.776091002044268]