Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.008342/0.008342, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002347/0.002347, allocations: 193.9 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.878/2.878, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2816, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001771/0.2834, allocations: 0.6607 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.285, allocations: 1.188 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.285, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.2851, allocations: 3.938 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.2851, allocations: 15.91 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.2858, allocations: 222.5 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.2861, allocations: 183.7 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.2862, allocations: 11.97 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2863, allocations: 67.89 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2864, allocations: 63.84 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.2865, allocations: 16 kB / 1.223 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.465e-05/0.2866, allocations: 27.98 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.2866, allocations: 8 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.721e-05/0.2867, allocations: 59.81 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.2869, allocations: 155.5 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2869, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2869, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2869, allocations: 0 / 1.223 GB, free: 11.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005361/0.2875, allocations: 438.7 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2875, allocations: 15.97 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.2875, allocations: 30.75 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.2876, allocations: 16.88 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2877, allocations: 164.3 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2878, allocations: 12.38 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2878, allocations: 8.375 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.2879, allocations: 46.23 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2879, allocations: 3.938 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2879, allocations: 0 / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2879, allocations: 8 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.288, allocations: 15.94 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.2885, allocations: 352.7 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.792e-05/0.2886, allocations: 38.56 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.2886, allocations: 8.859 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-06/0.2886, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.2888, allocations: 87.39 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.2888, allocations: 3.938 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002416/0.289, allocations: 109.6 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.2891, allocations: 55.41 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.2892, allocations: 117.8 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.2892, allocations: 29.7 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.2893, allocations: 96.08 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.2893, allocations: 11.91 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2894, allocations: 57.62 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2896, allocations: 322.8 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.2898, allocations: 55.97 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2899, allocations: 92.27 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2901, allocations: 163.5 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2902, allocations: 0 / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000439/0.2906, allocations: 252.9 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/0.2907, allocations: 71.39 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2907, allocations: 480 / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2907, allocations: 4.125 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.955e-05/0.2907, allocations: 7.938 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2907, allocations: 4 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.2911, allocations: 59.83 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.2911, allocations: 15.92 kB / 1.225 GB, free: 8.629 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001011/0.2912, allocations: 121.8 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.2913, allocations: 11.95 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.2913, allocations: 12.36 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2913, allocations: 64 / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2913, allocations: 4 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2913, allocations: 4 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.2915, allocations: 173.6 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2915, allocations: 0 / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.2915, allocations: 7.984 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2915, allocations: 0 / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2915, allocations: 4 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2915, allocations: 4 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2915, allocations: 7.938 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.2917, allocations: 105 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.2917, allocations: 85.11 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.2918, allocations: 0 / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.901e-05/0.2918, allocations: 0 / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.2918, allocations: 7.984 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.2918, allocations: 4 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.593e-05/0.2919, allocations: 95.27 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2919, allocations: 0 / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002405/0.2921, allocations: 28 kB / 1.226 GB, free: 7.867 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0004949/0.2926, allocations: 0.6596 MB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.293, allocations: 246.7 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.293, allocations: 0 / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.793e-05/0.2931, allocations: 27.92 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.2933, allocations: 23.02 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.2953, allocations: 1.725 MB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.2956, allocations: 0.6846 MB / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.2957, allocations: 4 kB / 1.229 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.2957, allocations: 23.42 kB / 1.229 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.2957, allocations: 4 kB / 1.229 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3193, allocations: 2.886 MB / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.075, allocations: 9.859 kB / 1.232 GB, free: 1.496 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches