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.007286/0.007286, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001851/0.001851, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.835/2.835, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 59.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2951, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001932/0.2971, allocations: 0.7496 MB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2986, allocations: 1.147 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.2986, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.2987, allocations: 11.92 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.2987, allocations: 3.938 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.2993, allocations: 143.4 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.2995, allocations: 123.8 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.2996, allocations: 19.94 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.2996, allocations: 47.89 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.2998, allocations: 47.83 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.2998, allocations: 12 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.169e-05/0.2999, allocations: 23.98 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.2999, allocations: 23.91 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.3, allocations: 39.84 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.3002, allocations: 115.6 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3002, allocations: 0 / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3002, allocations: 3.938 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.3002, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 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.0006467/0.3008, allocations: 416.9 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3009, allocations: 11.97 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.3009, allocations: 34.75 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.301, allocations: 12.89 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3011, allocations: 168.4 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3012, allocations: 12.36 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.3012, allocations: 4.375 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3014, allocations: 66.22 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3014, allocations: 7.922 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3014, allocations: 4 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3014, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.3016, allocations: 47.89 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.3022, allocations: 344.6 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.3024, allocations: 62.55 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3025, allocations: 24.97 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.3025, allocations: 4 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.3027, allocations: 95.42 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.3028, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004604/0.3032, allocations: 137.5 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3033, allocations: 59.39 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3034, allocations: 117.8 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.3034, allocations: 33.7 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.3035, allocations: 96.08 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.3035, allocations: 15.91 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.3036, allocations: 37.7 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3038, allocations: 318.8 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.304, allocations: 51.97 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.3042, allocations: 92.19 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.3045, allocations: 149.9 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3045, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004924/0.305, allocations: 211.1 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.305, allocations: 33.7 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3051, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3051, allocations: 4 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.3052, allocations: 15.97 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3052, allocations: 8.062 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.3054, allocations: 47.78 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.3054, allocations: 8 kB / 1.225 GB, free: 8.766 MB / 0.9825 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.0001187/0.3056, allocations: 121.8 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.3056, allocations: 11.94 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.3056, allocations: 8.375 kB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3056, allocations: 4 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3057, allocations: 0 / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3057, allocations: 0 / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.3062, allocations: 378.4 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3062, allocations: 0 / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.3063, allocations: 11.98 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3063, allocations: 4 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3063, allocations: 0 / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3063, allocations: 4 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.3063, allocations: 3.938 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.3066, allocations: 203.8 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.3067, allocations: 85.06 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3067, allocations: 4 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.3068, allocations: 11.98 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.3069, allocations: 11.92 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3069, allocations: 4 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.66e-05/0.3069, allocations: 95.27 kB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.974e-06/0.3069, allocations: 0 / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00026/0.3072, allocations: 27.88 kB / 1.226 GB, free: 7.688 MB / 0.9825 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.0007142/0.3079, allocations: 0.7559 MB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3084, allocations: 171.3 kB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3084, allocations: 0 / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3085, allocations: 40.22 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3088, allocations: 23.53 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.311, allocations: 1.695 MB / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3114, allocations: 0.6924 MB / 1.229 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.3114, allocations: 7.984 kB / 1.229 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.3115, allocations: 23.44 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3115, allocations: 3.938 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.3354, allocations: 2.557 MB / 1.232 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.001, allocations: 0.7031 kB / 1.232 GB, free: 1.664 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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