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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_10_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.006211/0.006211, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001104/0.001104, allocations: 193.2 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.577/2.577, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3449, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002696/0.3476, allocations: 0.7494 MB / 1.167 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.3495, allocations: 1.159 MB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.3496, allocations: 0 / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.017e-05/0.3497, allocations: 7.875 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.3498, allocations: 11.94 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.3504, allocations: 135.3 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.3507, allocations: 135.7 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3508, allocations: 8 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3509, allocations: 47.89 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.351, allocations: 43.88 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.3511, allocations: 16 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.419e-05/0.3512, allocations: 23.98 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.3512, allocations: 11.94 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.3513, allocations: 47.83 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3515, allocations: 111.9 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3515, allocations: 4 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3515, allocations: 0 / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3515, allocations: 0 / 1.169 GB, free: 4.762 MB / 0.92 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.000678/0.3522, allocations: 416.8 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3522, allocations: 15.97 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.3523, allocations: 34.75 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.3523, allocations: 4.938 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3525, allocations: 176.3 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3525, allocations: 8.375 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3525, allocations: 8.375 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3527, allocations: 66.2 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3528, allocations: 3.938 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3528, allocations: 4 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3528, allocations: 7.938 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.353, allocations: 47.89 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.3535, allocations: 332.7 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.3537, allocations: 66.55 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.3538, allocations: 32.95 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.3539, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.3541, allocations: 83.36 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.3541, allocations: 0 / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004522/0.3546, allocations: 153.6 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.3546, allocations: 55.34 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.3547, allocations: 121.8 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.3548, allocations: 25.7 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.3548, allocations: 96.03 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3549, allocations: 19.84 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/0.355, allocations: 41.69 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3551, allocations: 322.8 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3553, allocations: 51.95 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.3555, allocations: 88.25 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.3558, allocations: 141.9 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3558, allocations: 0 / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004413/0.3562, allocations: 211.1 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.3563, allocations: 45.81 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3563, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3563, allocations: 3.984 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.3564, allocations: 8 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.3564, allocations: 7.984 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.3566, allocations: 31.92 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.3567, allocations: 11.98 kB / 1.171 GB, free: 1.781 MB / 0.92 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.0001172/0.3568, allocations: 136.4 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.3568, allocations: 4 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.3568, allocations: 8.375 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3568, allocations: 4 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3569, allocations: 64 / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3569, allocations: 4 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.3574, allocations: 382.4 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3574, allocations: 4 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.3574, allocations: 11.98 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3575, allocations: 0 / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3575, allocations: 4 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3575, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3575, allocations: 3.938 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.3578, allocations: 207.5 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.3579, allocations: 88.97 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3579, allocations: 4 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.358, allocations: 8 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.3581, allocations: 7.922 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3581, allocations: 4 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.869e-05/0.3581, allocations: 91.81 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3581, allocations: 0 / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002562/0.3584, allocations: 27.95 kB / 1.172 GB, free: 0.7031 MB / 0.92 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.0006797/0.3591, allocations: 0.7466 MB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000402/0.3595, allocations: 179.8 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3595, allocations: 7.938 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.3596, allocations: 39.91 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.3599, allocations: 16.08 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.362, allocations: 1.703 MB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3623, allocations: 0.6924 MB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.3623, allocations: 4 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.3624, allocations: 19.77 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.3624, allocations: 0 / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.3817, allocations: 2.561 MB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/8.112, allocations: 20.25 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv","/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