Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.001694/0.001694, allocations: 108 kB / 15.6 MB, free: 132 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.001985/0.001985, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.68/2.68, allocations: 469.8 MB / 0.7424 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 63.59 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3084, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002539/0.3109, allocations: 0.7393 MB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3127, allocations: 1.156 MB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.3128, allocations: 0 / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.3128, allocations: 3.938 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.3129, allocations: 11.88 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.3134, allocations: 130.2 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3136, allocations: 119.8 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3137, allocations: 15.98 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.794e-05/0.3138, allocations: 47.89 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.3139, allocations: 43.83 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.3139, allocations: 8 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.262e-05/0.314, allocations: 27.98 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.314, allocations: 4 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.3141, allocations: 51.83 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.3143, allocations: 111.7 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3143, allocations: 3.984 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3143, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3143, allocations: 0 / 1.067 GB, free: 11.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006015/0.3149, allocations: 413.2 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.315, allocations: 8.031 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.315, allocations: 42.62 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.3151, allocations: 8.938 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3152, allocations: 168.3 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3152, allocations: 4.375 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.3153, allocations: 12.36 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3154, allocations: 62.23 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3155, allocations: 3.938 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3155, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.3155, allocations: 3.938 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.3157, allocations: 43.95 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.3162, allocations: 348.5 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3164, allocations: 58.61 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3165, allocations: 36.95 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.3165, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.3168, allocations: 91.3 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3168, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004439/0.3172, allocations: 145.8 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.3173, allocations: 51.41 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.3174, allocations: 117.8 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3174, allocations: 25.7 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.3175, allocations: 96.12 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.3175, allocations: 11.81 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.3176, allocations: 45.62 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3178, allocations: 322.8 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.3179, allocations: 51.95 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.3181, allocations: 88.69 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.3184, allocations: 146 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3184, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004432/0.3189, allocations: 207.1 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.3189, allocations: 37.83 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3189, allocations: 4 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3189, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.319, allocations: 11.98 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.319, allocations: 4 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.3193, allocations: 39.8 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3193, allocations: 11.98 kB / 1.069 GB, free: 8.738 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,edge1.y,edge1.u,$PRE.edge1.u,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.0001063/0.3194, allocations: 135.7 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.3194, allocations: 7.906 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.3195, allocations: 8.375 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3195, allocations: 4 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3195, allocations: 3.938 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3195, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.32, allocations: 378.4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.32, allocations: 64 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.32, allocations: 15.98 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3201, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3201, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3201, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3201, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.3204, allocations: 223.3 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.3204, allocations: 77.11 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3205, allocations: 3.984 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.3206, allocations: 4 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.3206, allocations: 15.92 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.3206, allocations: 4 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.146e-05/0.3207, allocations: 99.25 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3207, allocations: 0 / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002487/0.3209, allocations: 27.91 kB / 1.07 GB, free: 7.652 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0006443/0.3216, allocations: 0.7437 MB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.322, allocations: 183.2 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.322, allocations: 0 / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3221, allocations: 39.92 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.3224, allocations: 16.31 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.3245, allocations: 1.69 MB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3248, allocations: 0.6885 MB / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.3248, allocations: 4 kB / 1.073 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.3248, allocations: 19.44 kB / 1.073 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3249, allocations: 0 / 1.073 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.639/0.9638, allocations: 2.522 MB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/9.08, allocations: 4 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches