Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001676/0.001676, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001936/0.001936, allocations: 186 kB / 20.78 MB, free: 1.547 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.617/1.617, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.808/2.808, allocations: 443.4 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 68.08 kB / 1.059 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3982, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002377/0.4006, allocations: 0.757 MB / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.4024, allocations: 1.164 MB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.4024, allocations: 0 / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.4025, allocations: 3.938 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.324e-05/0.4026, allocations: 11.92 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.4031, allocations: 135 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.4033, allocations: 123.7 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.4034, allocations: 12 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.4035, allocations: 47.84 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.4037, allocations: 47.86 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.4037, allocations: 12 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.4038, allocations: 23.98 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.4038, allocations: 11.94 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.4039, allocations: 43.83 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.4041, allocations: 111.6 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4041, allocations: 4 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.021e-06/0.4041, allocations: 4 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.4041, allocations: 0 / 1.219 GB, free: 12.8 MB / 0.9669 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.0007615/0.4049, allocations: 408.9 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4049, allocations: 12.03 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.405, allocations: 8.891 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.4051, allocations: 176.2 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.4052, allocations: 8.375 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.4052, allocations: 8.359 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.4054, allocations: 66.23 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4054, allocations: 192 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4055, allocations: 3.938 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.4055, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.4057, allocations: 43.95 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.4062, allocations: 332.7 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.4064, allocations: 62.55 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.4066, allocations: 32.97 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.4066, allocations: 0 / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.4069, allocations: 95.28 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.4069, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004724/0.4073, allocations: 149.6 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.4074, allocations: 51.41 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.4075, allocations: 125.7 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.4076, allocations: 25.7 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.4077, allocations: 96.12 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.4077, allocations: 19.86 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.4078, allocations: 37.7 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.408, allocations: 326.8 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.4082, allocations: 47.95 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.4083, allocations: 96.06 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.4087, allocations: 145.8 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4087, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005112/0.4092, allocations: 211.2 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.4093, allocations: 39.73 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4093, allocations: 3.938 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.4093, allocations: 4 kB / 1.221 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4094, allocations: 11.98 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4094, allocations: 0 / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.4096, allocations: 40.02 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.4097, allocations: 12 kB / 1.221 GB, free: 9.875 MB / 0.9669 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.0001341/0.4098, allocations: 131.9 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.4098, allocations: 3.953 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.4098, allocations: 12.38 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4098, allocations: 0 / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4099, allocations: 0 / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4099, allocations: 0 / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.4104, allocations: 374.5 kB / 1.222 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4104, allocations: 4 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.4105, allocations: 11.92 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4105, allocations: 0 / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4105, allocations: 0 / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4105, allocations: 4 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4105, allocations: 0 / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.4108, allocations: 215.4 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.4109, allocations: 85.05 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4109, allocations: 4 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.411, allocations: 11.98 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.411, allocations: 7.984 kB / 1.222 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.411, allocations: 8 kB / 1.222 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.4111, allocations: 99.2 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4111, allocations: 0 / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000265/0.4114, allocations: 27.94 kB / 1.222 GB, free: 8.797 MB / 0.9669 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.0001784/0.4115, allocations: 107.2 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.412, allocations: 159.3 kB / 1.222 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.412, allocations: 8.188 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4121, allocations: 36.44 kB / 1.222 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.4124, allocations: 12.14 kB / 1.222 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.4128, allocations: 178.5 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.4131, allocations: 0.6885 MB / 1.223 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.4132, allocations: 11.94 kB / 1.223 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.4132, allocations: 15.44 kB / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.4132, allocations: 0 / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of Templates: time 0.004591/0.4178, allocations: 1.455 MB / 1.225 GB, free: 6.07 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.727939845994115]