Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.007675/0.007675, allocations: 101.1 kB / 15.73 MB, free: 6.043 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: 190.6 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.513/2.513, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.95 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3008, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001754/0.3026, allocations: 0.6949 MB / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3041, allocations: 1.27 MB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.3041, allocations: 0 / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.012e-05/0.3042, allocations: 4.047 kB / 1.089 GB, free: 16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.801e-05/0.3043, allocations: 19.78 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.3052, allocations: 321.9 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.3055, allocations: 267.7 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.3056, allocations: 24.16 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.3057, allocations: 103.8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3059, allocations: 91.73 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.415e-05/0.306, allocations: 24 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.3061, allocations: 35.98 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.3061, allocations: 15.92 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.3062, allocations: 83.8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3065, allocations: 222.2 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3065, allocations: 4 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3065, allocations: 0 / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3065, allocations: 0 / 1.091 GB, free: 14.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005522/0.307, allocations: 489.2 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3071, allocations: 8.031 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.3071, allocations: 42.73 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.3072, allocations: 12.84 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.3073, allocations: 180.2 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3073, allocations: 12.38 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.3074, allocations: 20.36 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.3075, allocations: 61.98 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3075, allocations: 3.938 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.3075, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.3075, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.139e-05/0.3076, allocations: 19.98 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.3081, allocations: 408.5 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.3082, allocations: 38.56 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.3082, allocations: 20.86 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.3083, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.3084, allocations: 103.3 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3084, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002923/0.3087, allocations: 137.5 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3088, allocations: 63.41 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3089, allocations: 133.8 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.3089, allocations: 29.7 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.309, allocations: 104 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.309, allocations: 15.75 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3091, allocations: 69.66 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.3092, allocations: 322.8 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.3094, allocations: 91.94 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.3097, allocations: 139.7 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.31, allocations: 242.8 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.31, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005791/0.3106, allocations: 378.2 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/0.3106, allocations: 101.1 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3106, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3107, allocations: 192 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.564e-05/0.3107, allocations: 11.94 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3107, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.3112, allocations: 76.28 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.3113, allocations: 15.98 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001345/0.3114, allocations: 146.7 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.3114, allocations: 7.906 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.3115, allocations: 12.31 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3115, allocations: 4 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3115, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3115, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.3117, allocations: 189.6 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3117, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-06/0.3117, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3117, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3117, allocations: 7.984 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3117, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3117, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.3119, allocations: 140.9 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.312, allocations: 85.02 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.312, allocations: 7.984 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.456e-05/0.312, allocations: 0 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.3121, allocations: 15.98 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.3121, allocations: 4 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.139e-05/0.3122, allocations: 101.5 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3122, allocations: 0 / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002793/0.3124, allocations: 43.91 kB / 1.095 GB, free: 10.34 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005341/0.313, allocations: 0.6826 MB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.3135, allocations: 366.2 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3135, allocations: 0 / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/0.3135, allocations: 47.8 kB / 1.096 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3139, allocations: 28.19 kB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.3162, allocations: 2.042 MB / 1.098 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.3165, allocations: 0.6962 MB / 1.098 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.3165, allocations: 8.422 kB / 1.098 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.3166, allocations: 31.42 kB / 1.098 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.3166, allocations: 0 / 1.098 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.3382, allocations: 3.807 MB / 1.102 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.146, allocations: 12.14 kB / 1.102 GB, free: 2.504 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches