Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_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_latest_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.001232/0.001232, allocations: 112.1 kB / 16.42 MB, free: 6.453 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.001469/0.001469, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.489/1.489, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.733/2.733, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 59.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.137, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002787/1.14, allocations: 0.7413 MB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002662/1.143, allocations: 1.151 MB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/1.143, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.316e-05/1.143, allocations: 11.86 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/1.143, allocations: 3.938 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008821/1.144, allocations: 135.1 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/1.145, allocations: 131.7 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/1.145, allocations: 23.92 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/1.145, allocations: 43.91 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/1.145, allocations: 51.81 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/1.145, allocations: 12 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/1.145, allocations: 23.98 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/1.145, allocations: 11.98 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/1.145, allocations: 47.83 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/1.146, allocations: 115.6 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.146, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.554e-06/1.146, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.606e-06/1.146, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 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.0009657/1.147, allocations: 418.7 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/1.147, allocations: 8.031 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/1.147, allocations: 12.78 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/1.147, allocations: 172.3 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/1.147, allocations: 4.375 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/1.147, allocations: 12.38 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/1.147, allocations: 62.22 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.147, allocations: 4.188 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/1.147, allocations: 3.938 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.147, allocations: 4 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/1.148, allocations: 43.95 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/1.148, allocations: 340.6 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/1.149, allocations: 54.61 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/1.149, allocations: 40.95 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/1.149, allocations: 3.938 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/1.149, allocations: 83.36 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 2.334e-06/1.149, allocations: 0 / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004821/1.15, allocations: 145.6 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/1.15, allocations: 51.41 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/1.15, allocations: 121.8 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/1.15, allocations: 29.7 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/1.15, allocations: 95.98 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/1.15, allocations: 23.73 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/1.15, allocations: 37.7 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.15, allocations: 326.8 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/1.15, allocations: 51.97 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/1.15, allocations: 80.25 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/1.151, allocations: 145.8 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.151, allocations: 0 / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004382/1.151, allocations: 215.4 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/1.151, allocations: 43.38 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/1.151, allocations: 3.938 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/1.151, allocations: 0 / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/1.151, allocations: 15.98 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.151, allocations: 7.984 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/1.152, allocations: 27.97 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/1.152, allocations: 11.98 kB / 1.213 GB, free: 8.188 MB / 0.9356 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.0001158/1.152, allocations: 131.6 kB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/1.152, allocations: 11.84 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/1.152, allocations: 8.375 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.152, allocations: 7.984 kB / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.152, allocations: 0 / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/1.152, allocations: 84.95 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/1.152, allocations: 4 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/1.152, allocations: 3.984 kB / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/1.152, allocations: 7.938 kB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003234/1.152, allocations: 196.9 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003385/1.153, allocations: 278.7 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001047/1.153, allocations: 35.95 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.358e-05/1.153, allocations: 99.27 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of Backend: time 4.8e-07/1.153, allocations: 0 / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006514/1.154, allocations: 230.6 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006995/1.154, allocations: 0.6043 MB / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of Templates: time 0.005009/1.159, allocations: 1.55 MB / 1.216 GB, free: 4.855 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches