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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 101.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 489.7 MB / 0.7761 GB, free: 33.78 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=511,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=511,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 66.97 kB / 1.127 GB, free: 37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2966, allocations: 172.1 MB / 1.295 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001994/0.2986, allocations: 0.7481 MB / 1.296 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.3001, allocations: 1.155 MB / 1.297 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.3002, allocations: 7.938 kB / 1.297 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.3002, allocations: 3.938 kB / 1.297 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.222e-05/0.3003, allocations: 7.938 kB / 1.297 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.3007, allocations: 135.1 kB / 1.297 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.3009, allocations: 119.8 kB / 1.297 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.301, allocations: 11.98 kB / 1.297 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.3011, allocations: 47.89 kB / 1.297 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3012, allocations: 47.88 kB / 1.297 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.3012, allocations: 12 kB / 1.297 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.018e-05/0.3013, allocations: 24 kB / 1.297 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.3013, allocations: 19.91 kB / 1.297 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.286e-05/0.3014, allocations: 39.84 kB / 1.297 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.3016, allocations: 111.6 kB / 1.297 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3016, allocations: 0 / 1.297 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3016, allocations: 0 / 1.297 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3016, allocations: 0 / 1.297 GB, free: 9.383 MB / 0.9981 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.0006232/0.3022, allocations: 412.9 kB / 1.298 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3023, allocations: 16.02 kB / 1.298 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.3023, allocations: 12.89 kB / 1.298 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.3025, allocations: 180.2 kB / 1.298 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3025, allocations: 4.375 kB / 1.298 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.3025, allocations: 8.375 kB / 1.298 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3027, allocations: 62.22 kB / 1.298 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3027, allocations: 4.188 kB / 1.298 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3027, allocations: 7.938 kB / 1.298 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3027, allocations: 0 / 1.298 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.3029, allocations: 43.95 kB / 1.298 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.3035, allocations: 324.7 kB / 1.298 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.3037, allocations: 58.55 kB / 1.298 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3038, allocations: 36.97 kB / 1.298 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3039, allocations: 0 / 1.298 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/0.3042, allocations: 91.33 kB / 1.298 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.3042, allocations: 0 / 1.298 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004817/0.3046, allocations: 141.6 kB / 1.299 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.3047, allocations: 55.39 kB / 1.299 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3048, allocations: 121.7 kB / 1.299 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.3049, allocations: 37.64 kB / 1.299 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.305, allocations: 88.14 kB / 1.299 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.305, allocations: 19.89 kB / 1.299 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.3051, allocations: 37.7 kB / 1.299 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3053, allocations: 322.8 kB / 1.299 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3055, allocations: 55.91 kB / 1.299 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.3056, allocations: 84.25 kB / 1.299 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.3059, allocations: 149.8 kB / 1.3 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.306, allocations: 0 / 1.3 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004722/0.3064, allocations: 215.4 kB / 1.3 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.3065, allocations: 33.7 kB / 1.3 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3065, allocations: 8.109 kB / 1.3 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3065, allocations: 0 / 1.3 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.963e-05/0.3066, allocations: 15.98 kB / 1.3 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3066, allocations: 4 kB / 1.3 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.3068, allocations: 39.84 kB / 1.3 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.3069, allocations: 8 kB / 1.3 GB, free: 6.457 MB / 0.9981 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.000161/0.307, allocations: 131.8 kB / 1.3 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.307, allocations: 7.953 kB / 1.3 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.3071, allocations: 16.34 kB / 1.3 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3071, allocations: 4 kB / 1.3 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3071, allocations: 0 / 1.3 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3071, allocations: 0 / 1.3 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.3077, allocations: 370.5 kB / 1.3 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3077, allocations: 4 kB / 1.3 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.3077, allocations: 11.94 kB / 1.3 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3077, allocations: 0 / 1.3 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3077, allocations: 3.984 kB / 1.3 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3077, allocations: 0 / 1.3 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3077, allocations: 0 / 1.3 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.308, allocations: 211.5 kB / 1.301 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.3081, allocations: 93 kB / 1.301 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3081, allocations: 4 kB / 1.301 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.3082, allocations: 7.984 kB / 1.301 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.3083, allocations: 0 / 1.301 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3083, allocations: 15.92 kB / 1.301 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.5e-05/0.3083, allocations: 87.28 kB / 1.301 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3083, allocations: 0 / 1.301 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000276/0.3086, allocations: 27.92 kB / 1.301 GB, free: 5.383 MB / 0.9981 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.0002314/0.3088, allocations: 111.7 kB / 1.301 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.3093, allocations: 163.2 kB / 1.301 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3093, allocations: 4 kB / 1.301 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3094, allocations: 31.97 kB / 1.301 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.3097, allocations: 20.19 kB / 1.301 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.3101, allocations: 192.2 kB / 1.301 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3105, allocations: 0.6846 MB / 1.302 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.3106, allocations: 11.44 kB / 1.302 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3106, allocations: 4 kB / 1.302 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.003414/0.314, allocations: 1.27 MB / 1.303 GB, free: 2.832 MB / 0.9981 GB [Timeout remaining time 300] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] 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