Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001457/0.001457, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001923/0.001923, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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 2.857/2.857, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_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_latest_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.003262/0.003262, allocations: 75.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.929/0.9322, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001787/0.934, allocations: 0.7359 MB / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.9352, allocations: 1.158 MB / 1.188 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.9353, allocations: 1.625 kB / 1.188 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.9353, allocations: 4.641 kB / 1.188 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.9354, allocations: 14.42 kB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.9358, allocations: 133.6 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.936, allocations: 121.3 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.9361, allocations: 18.45 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.9362, allocations: 52.72 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.9363, allocations: 37.19 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.9363, allocations: 9.5 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.9364, allocations: 27.94 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.9364, allocations: 12.55 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.9364, allocations: 37.78 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.9366, allocations: 115.1 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9366, allocations: 0.8125 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9366, allocations: 0 / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.9366, allocations: 4.75 kB / 1.189 GB, free: 14.63 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.0004788/0.9371, allocations: 328.1 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.9371, allocations: 9.312 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.9372, allocations: 7.922 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.298e-05/0.9373, allocations: 124.2 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.9373, allocations: 3.656 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.9373, allocations: 6.875 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.9375, allocations: 66.89 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.9375, allocations: 0.9375 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.9375, allocations: 9.75 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.9375, allocations: 1.125 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.9377, allocations: 45.47 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.9381, allocations: 251.3 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.9383, allocations: 64.97 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.9384, allocations: 38.67 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.9384, allocations: 1.531 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.9386, allocations: 84.16 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.9386, allocations: 0 / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0004376/0.9391, allocations: 149.8 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.9391, allocations: 54.28 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/0.9392, allocations: 117.9 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.9392, allocations: 32.17 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.9392, allocations: 93.86 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.9392, allocations: 19.97 kB / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.9393, allocations: 38.95 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.9394, allocations: 319.2 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.9395, allocations: 82.77 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.9397, allocations: 113.3 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.94, allocations: 149.6 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.94, allocations: 1.25 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000445/0.9404, allocations: 245.6 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.9404, allocations: 42.73 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9404, allocations: 9.922 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.9405, allocations: 2.25 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.9406, allocations: 15.38 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.9406, allocations: 2.188 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.9408, allocations: 30.69 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.9408, allocations: 8.562 kB / 1.191 GB, free: 12.62 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 7.376e-05/0.9409, allocations: 127.4 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.9409, allocations: 9.453 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.9409, allocations: 11.16 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.9409, allocations: 5.312 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9409, allocations: 0 / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9409, allocations: 2.062 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.9413, allocations: 321.5 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9413, allocations: 1.438 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.838e-05/0.9414, allocations: 12.98 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.9414, allocations: 4 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.9414, allocations: 5.953 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9414, allocations: 0 / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.9414, allocations: 1.922 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.9417, allocations: 206.2 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.9417, allocations: 6.484 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.9417, allocations: 1.922 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.9418, allocations: 10.73 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.9418, allocations: 6.469 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.9419, allocations: 6.438 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.9419, allocations: 92.14 kB / 1.192 GB, free: 11.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9419, allocations: 0 / 1.192 GB, free: 11.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002715/0.9422, allocations: 24.83 kB / 1.192 GB, free: 11.94 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.0001235/0.9423, allocations: 97.97 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003797/0.9427, allocations: 199.5 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9427, allocations: 4.25 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.9428, allocations: 36.75 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.9431, allocations: 14.84 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.9434, allocations: 171.9 kB / 1.193 GB, free: 11.56 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.368e-05/0.9435, allocations: 74.97 kB / 1.193 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.9435, allocations: 10.52 kB / 1.193 GB, free: 11.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.9435, allocations: 15.08 kB / 1.193 GB, free: 11.47 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.9435, allocations: 1.094 kB / 1.193 GB, free: 11.47 MB / 1.076 GB Notification: Performance of Templates: time 0.00496/0.9485, allocations: 1.572 MB / 1.194 GB, free: 11.29 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.167268635006621]