Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_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.008959/0.008959, allocations: 104.8 kB / 15.74 MB, free: 6.035 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.00192/0.00192, allocations: 199.2 kB / 16.67 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.89 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3069, allocations: 140.4 MB / 1.087 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.003342/0.3103, allocations: 0.7512 MB / 1.088 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0024/0.3127, allocations: 1.145 MB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.3128, allocations: 7.938 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.3129, allocations: 3.938 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.313, allocations: 7.875 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.3136, allocations: 137.8 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.3139, allocations: 123.9 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.314, allocations: 15.98 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3141, allocations: 51.81 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3143, allocations: 47.81 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.3143, allocations: 16 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.3144, allocations: 23.98 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.3144, allocations: 7.938 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.3145, allocations: 55.77 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.3147, allocations: 107.7 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3147, allocations: 3.938 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3148, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.3148, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 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.0006691/0.3154, allocations: 408.6 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3155, allocations: 16.03 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.3155, allocations: 34.75 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.3156, allocations: 8.938 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3158, allocations: 172.2 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3158, allocations: 8.312 kB / 1.091 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.3159, allocations: 12.38 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.3161, allocations: 78.12 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3161, allocations: 3.938 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3161, allocations: 0 / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3161, allocations: 4 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.3163, allocations: 43.95 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.317, allocations: 336.6 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.3172, allocations: 62.55 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3173, allocations: 28.97 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.3174, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.3176, allocations: 87.36 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3176, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004807/0.3181, allocations: 149.5 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3182, allocations: 55.41 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3183, allocations: 121.8 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.3183, allocations: 29.7 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.3184, allocations: 96.03 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3184, allocations: 15.81 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.3185, allocations: 41.62 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3186, allocations: 326.8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3188, allocations: 51.95 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.319, allocations: 88.25 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.3193, allocations: 141.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3193, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005101/0.3199, allocations: 207.2 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.3199, allocations: 37.73 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3199, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3199, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3201, allocations: 19.92 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.3201, allocations: 0 / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.3203, allocations: 35.89 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.3203, allocations: 8 kB / 1.093 GB, free: 12.63 MB / 0.8575 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.0001134/0.3204, allocations: 133.8 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.3205, allocations: 3.906 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.3205, allocations: 12.38 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3205, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3205, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3205, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.3211, allocations: 382.4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3211, allocations: 3.984 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3212, allocations: 7.984 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3212, allocations: 3.938 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3212, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3212, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.3212, allocations: 3.938 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.3216, allocations: 211.7 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.3216, allocations: 85.02 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3217, allocations: 3.984 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.3218, allocations: 4 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.3218, allocations: 15.92 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3218, allocations: 3.938 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.3219, allocations: 95.27 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3219, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003076/0.3222, allocations: 31.94 kB / 1.094 GB, free: 11.55 MB / 0.8575 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.000683/0.3229, allocations: 0.7583 MB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.3233, allocations: 179.3 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3234, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.3235, allocations: 31.98 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3238, allocations: 16.11 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.3262, allocations: 1.687 MB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3265, allocations: 0.6885 MB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.166e-05/0.3266, allocations: 7.984 kB / 1.097 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.3266, allocations: 19.44 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.3266, allocations: 0 / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.3478, allocations: 2.579 MB / 1.099 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.128, allocations: 0 / 1.099 GB, free: 5.52 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches