Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.0013/0.001299, 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.001657/0.001657, allocations: 193.7 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.39/1.39, 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 10.1.1-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.91 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6099, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002156/0.6121, allocations: 0.7549 MB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.6136, allocations: 1.144 MB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.6136, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.6137, allocations: 7.922 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.572e-05/0.6138, allocations: 7.875 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.6144, allocations: 150.7 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.6145, allocations: 115.8 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.6146, allocations: 15.98 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.6148, allocations: 51.89 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.6148, allocations: 43.83 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.6149, allocations: 12 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.615, allocations: 19.98 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.615, allocations: 11.98 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.6151, allocations: 43.84 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.6152, allocations: 111.7 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6153, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6153, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.6153, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005738/0.6159, allocations: 415.2 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6159, allocations: 12.03 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.616, allocations: 30.75 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.616, allocations: 12.84 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.6161, allocations: 180.2 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.6162, allocations: 4.375 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.6162, allocations: 8.375 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.6164, allocations: 62.22 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6164, allocations: 3.938 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.6164, allocations: 4 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.6164, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.6166, allocations: 43.95 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.6171, allocations: 324.7 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.6173, allocations: 62.61 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.6174, allocations: 40.95 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.6175, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.6177, allocations: 95.19 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 3.216e-06/0.6177, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004245/0.6181, allocations: 141.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.6182, allocations: 55.41 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/0.6183, allocations: 121.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.6183, allocations: 33.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.6184, allocations: 88.14 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.6184, allocations: 23.73 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/0.6185, allocations: 41.7 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6186, allocations: 318.8 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.6188, allocations: 55.91 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.6189, allocations: 84.25 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.6192, allocations: 141.9 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6192, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004408/0.6197, allocations: 207.1 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.6197, allocations: 41.69 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6198, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6198, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.6199, allocations: 11.98 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.6199, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.6201, allocations: 36.08 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.6201, allocations: 12 kB / 1.022 GB, free: 13.04 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,edge1.y,edge1.u,$PRE.edge1.u,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.994e-05/0.6202, allocations: 129.7 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.6203, allocations: 7.906 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.6203, allocations: 12.36 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.6203, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6203, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6203, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.6208, allocations: 382.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6208, allocations: 4.062 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.6209, allocations: 11.88 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6209, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6209, allocations: 11.98 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.6209, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6209, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.6212, allocations: 207.4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.6213, allocations: 88.95 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.6213, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.6214, allocations: 11.98 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.6214, allocations: 7.938 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.6214, allocations: 3.984 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.6215, allocations: 95.28 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6215, allocations: 3.938 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000259/0.6218, allocations: 27.98 kB / 1.023 GB, free: 11.95 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0006056/0.6224, allocations: 0.744 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.6228, allocations: 183.3 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6228, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.6229, allocations: 43.91 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.6232, allocations: 16.8 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.6252, allocations: 1.678 MB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.6254, allocations: 0.6885 MB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.6255, allocations: 7.859 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.6255, allocations: 27.42 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6255, allocations: 0 / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.6464, allocations: 2.513 MB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/7.635, allocations: 6.719 kB / 1.029 GB, free: 5.961 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_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_Edge.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches