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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001364/0.001364, allocations: 105.4 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.001365/0.001365, allocations: 189.6 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.501/1.501, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.81 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3403, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002361/0.3427, allocations: 0.7608 MB / 1.02 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.3444, allocations: 1.157 MB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.3445, allocations: 0 / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.3446, allocations: 3.938 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.398e-05/0.3447, allocations: 7.875 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.3453, allocations: 140.9 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.3455, allocations: 123.8 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3456, allocations: 15.98 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3458, allocations: 43.91 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3459, allocations: 51.8 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.3459, allocations: 16 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.346, allocations: 23.98 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.346, allocations: 8 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.3461, allocations: 47.78 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.3463, allocations: 115.7 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3463, allocations: 0 / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.757e-06/0.3463, allocations: 0 / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3463, allocations: 3.938 kB / 1.021 GB, free: 7.336 MB / 0.795 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.0006435/0.347, allocations: 416.9 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3471, allocations: 12.03 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.3471, allocations: 8.844 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3473, allocations: 168.3 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3473, allocations: 8.359 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3473, allocations: 8.375 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.3475, allocations: 62.22 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3476, allocations: 4.188 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3476, allocations: 7.938 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3476, allocations: 0 / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3478, allocations: 47.89 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.3484, allocations: 348.5 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.3485, allocations: 58.55 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3487, allocations: 32.97 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.3487, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.3489, allocations: 87.36 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.3489, allocations: 0 / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004541/0.3494, allocations: 149.5 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.3495, allocations: 51.41 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3496, allocations: 121.8 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.3497, allocations: 29.7 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.3497, allocations: 96.19 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3498, allocations: 15.81 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.3498, allocations: 37.7 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.35, allocations: 322.8 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.3502, allocations: 63.89 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.3505, allocations: 84.27 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.3508, allocations: 150.2 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3508, allocations: 0 / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000489/0.3513, allocations: 215.1 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.3514, allocations: 33.7 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3514, allocations: 4.125 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3514, allocations: 0 / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.3515, allocations: 11.98 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3515, allocations: 4 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.3517, allocations: 47.73 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.3518, allocations: 8 kB / 1.024 GB, free: 4.395 MB / 0.795 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.0001291/0.3519, allocations: 122.4 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.352, allocations: 11.89 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.352, allocations: 12.44 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.352, allocations: 4 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.352, allocations: 0 / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.352, allocations: 0 / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.3525, allocations: 378.4 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3526, allocations: 4 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.3526, allocations: 11.98 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3526, allocations: 0 / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3527, allocations: 0 / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3527, allocations: 4 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3527, allocations: 0 / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.353, allocations: 211.3 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.3531, allocations: 85.02 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3531, allocations: 8 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.3532, allocations: 11.92 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.3532, allocations: 11.92 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3533, allocations: 0 / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.3533, allocations: 99.2 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3533, allocations: 0 / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002764/0.3536, allocations: 24 kB / 1.025 GB, free: 3.316 MB / 0.795 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.0001755/0.3538, allocations: 107.2 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003943/0.3542, allocations: 171.3 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3542, allocations: 0 / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3543, allocations: 43.91 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3546, allocations: 17.95 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.355, allocations: 166.5 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3553, allocations: 0.6924 MB / 1.026 GB, free: 2.055 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.3554, allocations: 7.859 kB / 1.026 GB, free: 2.047 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.3554, allocations: 11.44 kB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3554, allocations: 0 / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of Templates: time 0.004484/0.3599, allocations: 1.463 MB / 1.027 GB, free: 0.5898 MB / 0.795 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 -s gbode -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