Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.569/2.569, allocations: 390.3 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 63.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.775/0.7766, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002097/0.7788, allocations: 0.7396 MB / 0.9505 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.78, allocations: 1.151 MB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.7801, allocations: 1.25 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.7801, allocations: 3.938 kB / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.746e-05/0.7802, allocations: 17.06 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.7807, allocations: 135.3 kB / 0.9517 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.7809, allocations: 122.7 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.781, allocations: 23.23 kB / 0.9519 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.7812, allocations: 48.22 kB / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.038e-05/0.7813, allocations: 41.55 kB / 0.952 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.7813, allocations: 10.56 kB / 0.952 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.989e-05/0.7814, allocations: 33.39 kB / 0.952 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.7814, allocations: 18.41 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.149e-05/0.7815, allocations: 35.98 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.7817, allocations: 109 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7817, allocations: 1.188 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7817, allocations: 0 / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.7817, allocations: 0 / 0.9522 GB, free: 7.281 MB / 0.7169 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.0005463/0.7823, allocations: 418.1 kB / 0.9526 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7823, allocations: 10.06 kB / 0.9526 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.7824, allocations: 40.48 kB / 0.9526 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.7824, allocations: 10.09 kB / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.217e-05/0.7825, allocations: 174.9 kB / 0.9528 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.7825, allocations: 4.062 kB / 0.9528 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.7825, allocations: 10.75 kB / 0.9528 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.7827, allocations: 71.89 kB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.7827, allocations: 7.938 kB / 0.9529 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.7827, allocations: 0 / 0.9529 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.7828, allocations: 1.406 kB / 0.9529 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.7829, allocations: 44.39 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.7834, allocations: 333.3 kB / 0.9532 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.7836, allocations: 59.08 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.82e-05/0.7837, allocations: 35.55 kB / 0.9533 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.7837, allocations: 5.438 kB / 0.9533 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.7839, allocations: 95.36 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.7839, allocations: 0 / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004201/0.7843, allocations: 136.4 kB / 0.9535 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.7844, allocations: 52.56 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.7845, allocations: 124 kB / 0.9537 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.7845, allocations: 32.58 kB / 0.9537 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.7845, allocations: 92.14 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.7846, allocations: 22.52 kB / 0.9539 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.7847, allocations: 37.36 kB / 0.9539 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.7847, allocations: 324.2 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.7849, allocations: 52.09 kB / 0.9542 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.7851, allocations: 87.34 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.7854, allocations: 140.5 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7854, allocations: 5.156 kB / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004626/0.7859, allocations: 213.7 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.7859, allocations: 37.91 kB / 0.9547 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.7859, allocations: 0.875 kB / 0.9547 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.7859, allocations: 6.719 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.786, allocations: 14.95 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.7861, allocations: 2.406 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.7863, allocations: 44.23 kB / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.7863, allocations: 6.781 kB / 0.9548 GB, free: 4.844 MB / 0.7169 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.092e-05/0.7864, allocations: 120.8 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.7865, allocations: 6.188 kB / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.7865, allocations: 10.8 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.7865, allocations: 1 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7865, allocations: 0 / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7865, allocations: 7.938 kB / 0.9549 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.7869, allocations: 388 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.787, allocations: 1.375 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.787, allocations: 5.75 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.787, allocations: 3.984 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.787, allocations: 5.422 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.7871, allocations: 4 kB / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7871, allocations: 5.281 kB / 0.9553 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.7873, allocations: 212 kB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.7874, allocations: 79.8 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.7874, allocations: 1.375 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.7875, allocations: 7.953 kB / 0.9556 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.7875, allocations: 18.58 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.7876, allocations: 2.531 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.7876, allocations: 87.91 kB / 0.9557 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7876, allocations: 0 / 0.9557 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002688/0.7879, allocations: 25.42 kB / 0.9557 GB, free: 3.941 MB / 0.7169 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.0004928/0.7884, allocations: 0.746 MB / 0.9565 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.7888, allocations: 180.7 kB / 0.9566 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7888, allocations: 0 / 0.9566 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.7889, allocations: 36.34 kB / 0.9567 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.7892, allocations: 21.92 kB / 0.9567 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.791, allocations: 1.696 MB / 0.9583 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.7911, allocations: 0.6898 MB / 0.959 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.699e-05/0.7912, allocations: 11.67 kB / 0.959 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.7912, allocations: 19.5 kB / 0.959 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.7912, allocations: 0 / 0.959 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.8127, allocations: 2.531 MB / 0.9615 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/8.33, allocations: 4.188 kB / 0.9615 GB, free: 15.49 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches