Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 102.7 kB / 16.4 MB, free: 5.977 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.001549/0.001548, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8984, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002269/0.9007, allocations: 0.7563 MB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.9024, allocations: 1.154 MB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.9025, allocations: 0 / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.9026, allocations: 11.88 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.662e-05/0.9027, allocations: 7.938 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.9033, allocations: 137.8 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.9035, allocations: 131.7 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.9037, allocations: 12 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.9038, allocations: 51.83 kB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.9039, allocations: 51.75 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.9039, allocations: 12 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.904, allocations: 23.98 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.9041, allocations: 11.98 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.9042, allocations: 47.84 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.9044, allocations: 111.7 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.9044, allocations: 0 / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9044, allocations: 0 / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.9044, allocations: 0 / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006757/0.9051, allocations: 410.7 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.9051, allocations: 12.03 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.9052, allocations: 8.844 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.9054, allocations: 184.2 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.9054, allocations: 4.375 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.9054, allocations: 12.38 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.9056, allocations: 62.22 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.9056, allocations: 192 / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.9057, allocations: 7.938 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.9057, allocations: 0 / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.9059, allocations: 47.94 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.9064, allocations: 340.6 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.9066, allocations: 54.61 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.9067, allocations: 32.97 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.9068, allocations: 7.984 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.907, allocations: 83.31 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.907, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004435/0.9075, allocations: 145.6 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.9075, allocations: 51.41 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.9076, allocations: 121.8 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.9077, allocations: 29.7 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.9078, allocations: 96.03 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.9078, allocations: 23.69 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/0.9079, allocations: 41.69 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.908, allocations: 322.8 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.9082, allocations: 51.95 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.9084, allocations: 85.5 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.9087, allocations: 141.9 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9087, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004569/0.9092, allocations: 219.4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.9092, allocations: 37.64 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9093, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9093, allocations: 3.938 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.9094, allocations: 20.11 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.9094, allocations: 7.984 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.9096, allocations: 35.94 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.9096, allocations: 4 kB / 1.172 GB, free: 14.41 MB / 0.9044 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001217/0.9098, allocations: 133.7 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.9098, allocations: 7.906 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.9098, allocations: 8.375 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.9098, allocations: 4 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9098, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9098, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.9104, allocations: 382.3 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9104, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.9104, allocations: 11.98 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.9105, allocations: 4 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.9105, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9105, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9105, allocations: 4 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.9108, allocations: 207.3 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.9109, allocations: 81.02 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.9109, allocations: 7.984 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.911, allocations: 8 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.911, allocations: 15.92 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.911, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.578e-05/0.9111, allocations: 95.2 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9111, allocations: 0 / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002637/0.9114, allocations: 20 kB / 1.173 GB, free: 13.34 MB / 0.9044 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001671/0.9116, allocations: 115.2 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.912, allocations: 179.3 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.912, allocations: 0 / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.9121, allocations: 39.92 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.9124, allocations: 11.98 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.9129, allocations: 196.3 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.9132, allocations: 0.6885 MB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.9132, allocations: 15.44 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.9132, allocations: 0 / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.003064/0.9163, allocations: 1.285 MB / 1.176 GB, free: 10.75 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches