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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,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=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 111.6 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 192.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.56/2.56, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.86 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2907, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002153/0.2929, allocations: 0.795 MB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.2944, allocations: 1.166 MB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.2944, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.2945, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.2945, allocations: 7.938 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.295, allocations: 122.9 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.2952, allocations: 123.8 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.2953, allocations: 12 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.212e-05/0.2954, allocations: 47.89 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.2954, allocations: 43.83 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.2955, allocations: 8 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.101e-05/0.2955, allocations: 31.92 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.2956, allocations: 7.984 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.2957, allocations: 51.83 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.2958, allocations: 71.84 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2958, allocations: 0 / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2958, allocations: 7.938 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2958, allocations: 0 / 1.067 GB, free: 12.6 MB / 0.8419 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.0005922/0.2964, allocations: 413.2 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2965, allocations: 12.62 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.2965, allocations: 8.922 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2967, allocations: 168.3 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2967, allocations: 4.375 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.2967, allocations: 4.375 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.2969, allocations: 70.22 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2969, allocations: 4.125 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2969, allocations: 3.938 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.297, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.2971, allocations: 43.95 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.2977, allocations: 344.6 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.2978, allocations: 58.5 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.298, allocations: 36.95 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.298, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.2982, allocations: 87.36 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2982, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0004318/0.2987, allocations: 145.5 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.2987, allocations: 55.41 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.2988, allocations: 125.8 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.2989, allocations: 33.7 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.2989, allocations: 84.14 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.299, allocations: 23.86 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.299, allocations: 37.7 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2992, allocations: 322.8 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.2993, allocations: 51.91 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.2995, allocations: 84.25 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.2998, allocations: 145.8 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2998, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004398/0.3003, allocations: 211.1 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.3003, allocations: 41.62 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3003, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3004, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.698e-05/0.3005, allocations: 11.98 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3005, allocations: 12.06 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.3007, allocations: 43.8 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.3007, allocations: 8 kB / 1.069 GB, free: 9.68 MB / 0.8419 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.0001135/0.3008, allocations: 117.8 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.3009, allocations: 8 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.3009, allocations: 8.359 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3009, allocations: 8 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3009, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3009, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.3014, allocations: 382.3 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3015, allocations: 0 / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.3015, allocations: 8 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3015, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3015, allocations: 7.984 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3015, allocations: 0 / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3015, allocations: 0 / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.3019, allocations: 219.7 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.3019, allocations: 77.11 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3019, allocations: 4 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.302, allocations: 16.05 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3021, allocations: 3.984 kB / 1.07 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3021, allocations: 11.94 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.744e-05/0.3022, allocations: 95.2 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3022, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002517/0.3024, allocations: 24 kB / 1.07 GB, free: 8.609 MB / 0.8419 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.0001604/0.3026, allocations: 109.5 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004024/0.303, allocations: 183.3 kB / 1.07 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.303, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3031, allocations: 43.91 kB / 1.07 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.3034, allocations: 7.984 kB / 1.07 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.3038, allocations: 204.6 kB / 1.071 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3041, allocations: 0.6884 MB / 1.071 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.3042, allocations: 19.42 kB / 1.071 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3042, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of Templates: time 0.002955/0.3071, allocations: 1.254 MB / 1.073 GB, free: 6.039 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (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) 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) Reference file matches