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.001554/0.001554, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001643/0.001643, allocations: 195.6 kB / 16.14 MB, free: 6.691 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.603/1.603, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.947/2.947, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7655, allocations: 151.6 MB / 1.017 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002326/0.7679, allocations: 0.8096 MB / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.7697, allocations: 1.159 MB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/0.7698, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/0.7699, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.77, allocations: 11.86 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.7705, allocations: 119.7 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.7706, allocations: 107.8 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.7708, allocations: 23.95 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.7709, allocations: 43.84 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.771, allocations: 35.83 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.771, allocations: 11.94 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.926e-05/0.7711, allocations: 19.98 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.7712, allocations: 15.98 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.647e-05/0.7712, allocations: 35.84 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.7714, allocations: 107.7 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7715, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7715, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7715, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 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.0007751/0.7723, allocations: 415.1 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.7723, allocations: 8.031 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.7724, allocations: 12.84 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.7726, allocations: 176.2 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.7726, allocations: 12.36 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.7726, allocations: 12.31 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.7729, allocations: 66.2 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.7729, allocations: 4.188 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.7729, allocations: 7.922 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7729, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.7731, allocations: 51.94 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.7737, allocations: 340.6 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.7739, allocations: 58.61 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.7741, allocations: 32.97 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.7741, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.7744, allocations: 91.3 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.7744, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000516/0.7749, allocations: 149.6 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.775, allocations: 55.39 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.7751, allocations: 117.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.7751, allocations: 29.7 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.7752, allocations: 92.12 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.7753, allocations: 15.75 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-05/0.7754, allocations: 37.7 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.7756, allocations: 330.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.7758, allocations: 47.97 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.776, allocations: 92.19 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.7763, allocations: 141.9 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7763, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004913/0.7768, allocations: 207.1 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.7769, allocations: 39.08 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7769, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.371e-05/0.7769, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.777, allocations: 19.86 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.777, allocations: 3.938 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.7773, allocations: 35.86 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.7773, allocations: 12 kB / 1.022 GB, free: 13.46 MB / 0.7794 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.0001293/0.7775, allocations: 127.3 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.7775, allocations: 7.906 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.7775, allocations: 16.31 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7775, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.7775, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7775, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.7781, allocations: 382.4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7781, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.7782, allocations: 11.92 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.7782, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.7782, allocations: 8 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7782, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7782, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.7786, allocations: 207.3 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.7787, allocations: 81.11 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.7787, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.7788, allocations: 11.98 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.7788, allocations: 11.92 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.7788, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.807e-05/0.7789, allocations: 91.81 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7789, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002675/0.7792, allocations: 31.91 kB / 1.023 GB, free: 12.39 MB / 0.7794 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.0002041/0.7794, allocations: 111.7 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.7799, allocations: 175.8 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7799, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.78, allocations: 39.97 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.7803, allocations: 20.56 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.7808, allocations: 172.4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.7812, allocations: 0.6887 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.148e-05/0.7812, allocations: 15.84 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.7812, allocations: 15.44 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of SimCode: time 4.318e-06/0.7813, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.00454/0.7858, allocations: 1.334 MB / 1.025 GB, free: 9.77 MB / 0.7794 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=400 -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