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.00119/0.00119, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001333/0.001333, allocations: 192.4 kB / 16.25 MB, free: 6.629 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.434/2.434, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.001091, allocations: 67.89 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6869, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001863/0.6888, allocations: 0.8215 MB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.6901, allocations: 1.14 MB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.6902, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.6902, allocations: 7.875 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.93e-05/0.6903, allocations: 7.922 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.6908, allocations: 123.7 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.6909, allocations: 119.8 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.691, allocations: 31.94 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.102e-05/0.6911, allocations: 47.91 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.6912, allocations: 39.83 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.6912, allocations: 12 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.6913, allocations: 23.92 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.6913, allocations: 15.98 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.6914, allocations: 43.78 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.6916, allocations: 111.7 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6916, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6916, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.6916, allocations: 4 kB / 1.019 GB, free: 164 kB / 0.7637 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.0005206/0.6921, allocations: 411.2 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.6922, allocations: 11.97 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.6922, allocations: 38.75 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.6922, allocations: 12.78 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.6924, allocations: 180.2 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.6924, allocations: 4.375 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.6924, allocations: 8.375 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.6926, allocations: 70.16 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.6926, allocations: 3.938 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6926, allocations: 8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.6926, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.6928, allocations: 39.95 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.6933, allocations: 336.7 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.6934, allocations: 58.55 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.6935, allocations: 32.95 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.6935, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.6937, allocations: 91.34 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.6937, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003951/0.6941, allocations: 141.5 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.6942, allocations: 51.41 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.6943, allocations: 125.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.6943, allocations: 33.7 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.6944, allocations: 92.12 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.6944, allocations: 19.75 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.6945, allocations: 41.69 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.638e-05/0.6945, allocations: 318.8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.6947, allocations: 55.95 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.6949, allocations: 92.25 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.6951, allocations: 141.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.6951, allocations: 4 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004024/0.6955, allocations: 211.1 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.6956, allocations: 33.7 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.6956, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6956, allocations: 3.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.6957, allocations: 11.94 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6957, allocations: 4.125 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.6959, allocations: 43.86 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.6959, allocations: 11.98 kB / 1.022 GB, free: 13.18 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,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 8.635e-05/0.696, allocations: 118.3 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.696, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.6961, allocations: 12.38 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.6961, allocations: 3.938 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6961, allocations: 4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6961, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.6965, allocations: 386.6 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6965, allocations: 8.062 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.6966, allocations: 7.984 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6966, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.6966, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6966, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6966, allocations: 3.938 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.6969, allocations: 211.4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.6969, allocations: 89.09 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.6969, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.697, allocations: 11.98 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.6971, allocations: 7.938 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.6971, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.6971, allocations: 91.27 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6971, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002452/0.6974, allocations: 27.91 kB / 1.023 GB, free: 12.1 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 (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.0005146/0.6979, allocations: 0.7475 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.6983, allocations: 179.3 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6983, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.6984, allocations: 40.22 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.6986, allocations: 17.66 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.7004, allocations: 1.692 MB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.7006, allocations: 0.6924 MB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.7006, allocations: 7.859 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.7007, allocations: 23.42 kB / 1.026 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.7007, allocations: 0 / 1.026 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.291/1.992, allocations: 2.399 MB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003401/1.992, allocations: 208.8 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/3.672, allocations: 3.938 kB / 1.029 GB, free: 6.012 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.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