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.001533/0.001533, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001874/0.001874, allocations: 215.2 kB / 23.01 MB, free: 4.609 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.739/2.739, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] 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.002086/0.002086, allocations: 64.58 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3528, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002023/0.3548, allocations: 0.7497 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.3564, allocations: 1.184 MB / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.3565, allocations: 0 / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.3565, allocations: 3.938 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.681e-05/0.3566, allocations: 19.86 kB / 1.287 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.3571, allocations: 130.1 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.3573, allocations: 115.8 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.3574, allocations: 19.97 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.3575, allocations: 43.92 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3576, allocations: 47.81 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.3576, allocations: 12 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.3577, allocations: 27.97 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.3577, allocations: 11.94 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.3578, allocations: 43.84 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.358, allocations: 107.6 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.358, allocations: 0 / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.358, allocations: 3.938 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.358, allocations: 4 kB / 1.287 GB, free: 8.68 MB / 0.9825 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.0006141/0.3586, allocations: 339.8 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3586, allocations: 8.031 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.3587, allocations: 12.88 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3588, allocations: 126.3 kB / 1.288 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3588, allocations: 8.375 kB / 1.288 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3588, allocations: 8.375 kB / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.359, allocations: 66.22 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.359, allocations: 192 / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3591, allocations: 7.938 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3591, allocations: 0 / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.3593, allocations: 43.89 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.3599, allocations: 287.9 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.3602, allocations: 66.55 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.3603, allocations: 32.95 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.3603, allocations: 3.938 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.3607, allocations: 87.42 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 2.474e-06/0.3607, allocations: 4 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006308/0.3613, allocations: 137.8 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.3614, allocations: 55.41 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3615, allocations: 129.7 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.3615, allocations: 29.7 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.3616, allocations: 88.14 kB / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3616, allocations: 23.89 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.3617, allocations: 41.69 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3619, allocations: 314.8 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.3621, allocations: 51.95 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.3624, allocations: 85 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.3629, allocations: 149.9 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3629, allocations: 3.938 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007437/0.3636, allocations: 215.1 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.376e-05/0.3637, allocations: 37.7 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3637, allocations: 3.984 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3637, allocations: 0 / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.3638, allocations: 8 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.3639, allocations: 7.984 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.3642, allocations: 39.98 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3642, allocations: 11.98 kB / 1.289 GB, free: 5.953 MB / 0.9825 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.0001608/0.3644, allocations: 129.8 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.3644, allocations: 11.89 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.3644, allocations: 8.375 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.3644, allocations: 4 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3644, allocations: 0 / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3644, allocations: 0 / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.3651, allocations: 349.5 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3651, allocations: 0 / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.3652, allocations: 12.05 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3652, allocations: 4 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3652, allocations: 0 / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3652, allocations: 0 / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3652, allocations: 0 / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.3656, allocations: 215.4 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.3656, allocations: 3.953 kB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.3657, allocations: 4 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3658, allocations: 11.98 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.3659, allocations: 7.922 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.3659, allocations: 11.92 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.72e-05/0.366, allocations: 95.27 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.366, allocations: 0 / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004907/0.3665, allocations: 27.94 kB / 1.29 GB, free: 5 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: 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.0002028/0.3667, allocations: 99.23 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.3672, allocations: 171.2 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3672, allocations: 256 / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.3674, allocations: 35.98 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.3677, allocations: 18.94 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.3682, allocations: 196.4 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3686, allocations: 0.6885 MB / 1.292 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.3686, allocations: 15.44 kB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3686, allocations: 0 / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of Templates: time 0.004329/0.373, allocations: 1.25 MB / 1.293 GB, free: 2.465 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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: 11.135867067001527]