Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_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.001491/0.001491, allocations: 108 kB / 15.61 MB, free: 152 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.001462/0.001462, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.722/2.722, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 64.81 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2893, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001897/0.2913, allocations: 0.7432 MB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2926, allocations: 1.156 MB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.2927, allocations: 0 / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.2927, allocations: 3.938 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.2928, allocations: 19.84 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.2932, allocations: 130.6 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.2934, allocations: 123.8 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.2935, allocations: 15.98 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.2936, allocations: 43.91 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.2936, allocations: 43.83 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.2937, allocations: 12 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.2938, allocations: 23.98 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.2938, allocations: 19.91 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.2939, allocations: 39.86 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.294, allocations: 107.7 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.294, allocations: 3.938 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.056e-06/0.294, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.294, allocations: 3.938 kB / 1.067 GB, free: 11.73 MB / 0.8262 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.0005649/0.2946, allocations: 421.2 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2947, allocations: 8.031 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.2947, allocations: 34.73 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.2947, allocations: 8.938 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2949, allocations: 172.3 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2949, allocations: 8.375 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.2949, allocations: 4.375 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2951, allocations: 66.22 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2951, allocations: 3.938 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.2951, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2951, allocations: 7.938 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.2953, allocations: 47.89 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.2958, allocations: 340.6 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.296, allocations: 66.55 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2961, allocations: 32.95 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.2961, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.2964, allocations: 95.42 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.2964, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004449/0.2968, allocations: 141.5 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2969, allocations: 55.41 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.297, allocations: 117.8 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.297, allocations: 29.7 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.2971, allocations: 92.05 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2971, allocations: 23.8 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.2972, allocations: 41.64 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2973, allocations: 322.8 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.2975, allocations: 47.97 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.2977, allocations: 85.38 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.2979, allocations: 146.2 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2979, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004388/0.2984, allocations: 219.1 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.2984, allocations: 37.69 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2984, allocations: 4 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2985, allocations: 0 / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.2985, allocations: 11.98 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2986, allocations: 4 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.2988, allocations: 43.95 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2988, allocations: 8 kB / 1.069 GB, free: 8.746 MB / 0.8262 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.0001126/0.2989, allocations: 125.8 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.2989, allocations: 7.906 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.299, allocations: 12.36 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.299, allocations: 4 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.299, allocations: 0 / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.299, allocations: 0 / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.2995, allocations: 378.4 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2995, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.469e-05/0.2995, allocations: 11.98 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2996, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.2996, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2996, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2996, allocations: 7.875 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.2999, allocations: 215.3 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.2999, allocations: 81.02 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3, allocations: 4 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.3001, allocations: 11.98 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.3001, allocations: 7.922 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3001, allocations: 12 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.515e-05/0.3002, allocations: 95.27 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3002, allocations: 0 / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002471/0.3004, allocations: 28 kB / 1.07 GB, free: 7.664 MB / 0.8262 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.0006322/0.3011, allocations: 0.7436 MB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.3015, allocations: 179.2 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3015, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3016, allocations: 39.97 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.3019, allocations: 17.58 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.3039, allocations: 1.687 MB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3042, allocations: 0.6911 MB / 1.073 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.3043, allocations: 11.98 kB / 1.073 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.3043, allocations: 19.44 kB / 1.073 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3043, allocations: 0 / 1.073 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5883/0.8927, allocations: 2.525 MB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/9.026, allocations: 15.03 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches