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.001099/0.001099, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001166/0.001166, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.545/2.545, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 72.45 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2765, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001976/0.2785, allocations: 0.7516 MB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2798, allocations: 1.155 MB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.2799, allocations: 7.938 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.2799, allocations: 3.938 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.28, allocations: 3.938 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.2805, allocations: 127.4 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.2807, allocations: 135.6 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.2808, allocations: 12 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.742e-05/0.2809, allocations: 47.89 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.14e-05/0.281, allocations: 55.81 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.281, allocations: 8 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.2811, allocations: 23.98 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.2811, allocations: 15.92 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.826e-05/0.2812, allocations: 47.83 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.2813, allocations: 111.7 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2814, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2814, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2814, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 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.0006024/0.282, allocations: 420.9 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.282, allocations: 12.03 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.2821, allocations: 4.938 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2822, allocations: 172.3 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2822, allocations: 8.375 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.2822, allocations: 8.375 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2824, allocations: 62.22 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2824, allocations: 192 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2825, allocations: 7.938 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2825, allocations: 4 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.2827, allocations: 55.88 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.2831, allocations: 336.6 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.2833, allocations: 58.61 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.2834, allocations: 36.91 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.2834, allocations: 3.984 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.2836, allocations: 79.38 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.2836, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004084/0.2841, allocations: 153.6 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2841, allocations: 59.34 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.2842, allocations: 117.8 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.2842, allocations: 25.7 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.2843, allocations: 96.06 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.2843, allocations: 19.72 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.2844, allocations: 45.62 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2845, allocations: 322.8 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2847, allocations: 51.95 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.2848, allocations: 92.25 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.2851, allocations: 141.9 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2851, allocations: 0 / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004305/0.2855, allocations: 211.2 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.2856, allocations: 41.83 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2856, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2856, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.2857, allocations: 11.98 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2857, allocations: 4 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.2859, allocations: 39.8 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.286, allocations: 4 kB / 1.032 GB, free: 12.57 MB / 0.8106 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.556e-05/0.2861, allocations: 141.6 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.2861, allocations: 7.906 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.2861, allocations: 8.375 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2861, allocations: 4 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2861, allocations: 0 / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2861, allocations: 0 / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.2866, allocations: 374.4 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2866, allocations: 4 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.2867, allocations: 11.98 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2867, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.2867, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2867, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2867, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.287, allocations: 215.3 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.287, allocations: 81.02 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.2871, allocations: 12.05 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.2871, allocations: 7.938 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.2872, allocations: 15.91 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.2872, allocations: 7.938 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.2873, allocations: 95.75 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2873, allocations: 0 / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002631/0.2875, allocations: 24 kB / 1.033 GB, free: 11.48 MB / 0.8106 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.0001383/0.2877, allocations: 111 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.2881, allocations: 179.3 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2881, allocations: 0 / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.2882, allocations: 35.98 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2885, allocations: 29.12 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.2888, allocations: 166.5 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.289, allocations: 0.6885 MB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.2891, allocations: 4 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.2891, allocations: 15.44 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.2891, allocations: 0 / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of Templates: time 0.00371/0.2928, allocations: 1.442 MB / 1.035 GB, free: 8.762 MB / 0.8106 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 -s gbode -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