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: "" <> 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.001136/0.001136, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00919/0.00919, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.506/2.506, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 8 kB / 0.873 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.681, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0009103/0.682, allocations: 486 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.6835, allocations: 1.152 MB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.6835, allocations: 4 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.6836, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.6836, allocations: 11.86 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.6841, allocations: 119.7 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.6843, allocations: 103.8 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.6844, allocations: 23.95 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.6845, allocations: 43.84 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.6845, allocations: 39.83 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.6846, allocations: 4 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.291e-05/0.6846, allocations: 23.98 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.6847, allocations: 7.984 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/0.6847, allocations: 65.48 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.6849, allocations: 99.72 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6849, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6849, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.6849, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 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.0005346/0.6855, allocations: 403.3 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.6855, allocations: 12.03 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.6855, allocations: 30.75 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.6856, allocations: 16.84 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.6857, allocations: 176.2 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.6857, allocations: 8.312 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.6858, allocations: 8.375 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.686, allocations: 82.19 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.686, allocations: 3.938 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.686, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.686, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.6862, allocations: 59.95 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.6867, allocations: 336.6 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.6869, allocations: 70.61 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.687, allocations: 28.97 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.687, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.6872, allocations: 99.3 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.6872, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004418/0.6877, allocations: 161.6 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.6877, allocations: 55.41 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/0.6878, allocations: 117.8 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.6878, allocations: 29.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.6879, allocations: 100 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.6879, allocations: 15.75 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.688, allocations: 21.7 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6881, allocations: 326.8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.6883, allocations: 59.95 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.6885, allocations: 103.9 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.6888, allocations: 153.9 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6888, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004493/0.6892, allocations: 219.1 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.6893, allocations: 41.69 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6893, allocations: 4.125 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6893, allocations: 4 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.6894, allocations: 11.94 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.6894, allocations: 7.984 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.6897, allocations: 47.97 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.6897, allocations: 7.984 kB / 1.028 GB, free: 10.64 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 0.0001003/0.6898, allocations: 122.3 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.6898, allocations: 7.906 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.6898, allocations: 8.375 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6899, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6899, allocations: 3.938 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.6899, allocations: 7.984 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.6903, allocations: 386.6 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.6903, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.6904, allocations: 19.98 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6904, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.6904, allocations: 3.938 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.6904, allocations: 8.062 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6904, allocations: 7.922 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.6907, allocations: 207.5 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.6908, allocations: 85.08 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.6908, allocations: 8 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.6909, allocations: 11.98 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.6909, allocations: 7.938 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.691, allocations: 3.984 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.691, allocations: 91.28 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.691, allocations: 0 / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002549/0.6913, allocations: 31.98 kB / 1.029 GB, free: 9.535 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.0005821/0.6919, allocations: 0.7553 MB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.6922, allocations: 183.5 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6923, allocations: 12 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.6924, allocations: 43.97 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.6927, allocations: 15.81 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.6946, allocations: 1.729 MB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.6949, allocations: 0.6848 MB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.736e-05/0.6949, allocations: 15.83 kB / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.695, allocations: 19.44 kB / 1.032 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.695, allocations: 0 / 1.032 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.7067, allocations: 2.246 MB / 1.035 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.7069, allocations: 205.7 kB / 1.035 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.404, allocations: 0 / 1.035 GB, free: 3.551 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