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.007622/0.007623, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001273/0.001273, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.547/1.547, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.694/2.694, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.13, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002566/1.132, allocations: 0.7548 MB / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001876/1.134, allocations: 1.15 MB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/1.134, allocations: 0 / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/1.134, allocations: 3.938 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/1.134, allocations: 11.88 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/1.135, allocations: 135.2 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000193/1.135, allocations: 131.7 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/1.135, allocations: 15.98 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/1.135, allocations: 47.91 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/1.135, allocations: 51.73 kB / 1.169 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/1.135, allocations: 12 kB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/1.135, allocations: 23.98 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/1.135, allocations: 11.98 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/1.136, allocations: 47.78 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/1.136, allocations: 112.2 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/1.136, allocations: 0 / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.072e-06/1.136, allocations: 0 / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.59e-06/1.136, allocations: 4 kB / 1.169 GB, free: 1.301 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.0006177/1.136, allocations: 420.8 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.136, allocations: 8.031 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/1.136, allocations: 8.938 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/1.137, allocations: 172.3 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/1.137, allocations: 8.312 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/1.137, allocations: 8.375 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/1.137, allocations: 74.2 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.137, allocations: 4.125 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/1.137, allocations: 7.938 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/1.137, allocations: 0 / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/1.137, allocations: 47.95 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/1.138, allocations: 344.5 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/1.138, allocations: 58.61 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/1.138, allocations: 28.97 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/1.138, allocations: 7.984 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/1.138, allocations: 87.31 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/1.138, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004369/1.139, allocations: 141.6 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/1.139, allocations: 55.41 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/1.139, allocations: 117.8 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/1.139, allocations: 33.7 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/1.139, allocations: 96.08 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/1.139, allocations: 19.91 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/1.139, allocations: 41.69 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.139, allocations: 318.8 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/1.139, allocations: 51.95 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/1.139, allocations: 92.12 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/1.14, allocations: 141.9 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.14, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004309/1.14, allocations: 207.2 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.14, allocations: 33.7 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.14, allocations: 4 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.14, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.972e-05/1.14, allocations: 19.92 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.14, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/1.141, allocations: 43.97 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/1.141, allocations: 8 kB / 1.172 GB, free: 14.36 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 9.755e-05/1.141, allocations: 132 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/1.141, allocations: 4 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/1.141, allocations: 8.375 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.141, allocations: 3.938 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.141, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.141, allocations: 4 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/1.141, allocations: 378.4 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.141, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/1.141, allocations: 7.984 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/1.141, allocations: 7.938 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.141, allocations: 3.984 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.141, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.141, allocations: 3.938 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/1.142, allocations: 215.8 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/1.142, allocations: 81.17 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/1.142, allocations: 7.984 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/1.142, allocations: 4 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/1.142, allocations: 15.92 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.142, allocations: 4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.615e-05/1.142, allocations: 95.27 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.954e-06/1.142, allocations: 0 / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002516/1.142, allocations: 27.89 kB / 1.173 GB, free: 13.28 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.0001967/1.142, allocations: 115.9 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004065/1.143, allocations: 179.3 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.143, allocations: 256 / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/1.143, allocations: 40.05 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/1.143, allocations: 11.98 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/1.144, allocations: 162.3 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/1.144, allocations: 0.6885 MB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.21e-05/1.144, allocations: 8 kB / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/1.144, allocations: 11.44 kB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of SimCode: time 1.503e-06/1.144, allocations: 0 / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of Templates: time 0.004262/1.148, allocations: 1.457 MB / 1.175 GB, free: 10.56 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/jenkins/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