Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_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.001099/0.001099, 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.001156/0.001156, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.61 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2764, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001933/0.2784, allocations: 0.6471 MB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2799, allocations: 1.199 MB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.28, allocations: 4 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.28, allocations: 3.938 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.2801, allocations: 3.938 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.2808, allocations: 214.4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.281, allocations: 203.6 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2811, allocations: 11.98 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.2812, allocations: 67.89 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.2814, allocations: 47.86 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.2814, allocations: 16 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-05/0.2815, allocations: 27.98 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.2816, allocations: 8 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.2816, allocations: 63.81 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.2818, allocations: 140 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2819, allocations: 7.938 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2819, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2819, allocations: 0 / 1.066 GB, free: 11.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004927/0.2824, allocations: 434.7 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2824, allocations: 12.03 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.2825, allocations: 30.75 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.2825, allocations: 12.84 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.2826, allocations: 176.3 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2826, allocations: 8.375 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.2827, allocations: 16.36 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.2828, allocations: 46.25 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2828, allocations: 3.938 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.2828, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2828, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.951e-05/0.2829, allocations: 15.98 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.2833, allocations: 360.5 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.704e-05/0.2834, allocations: 34.58 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.2834, allocations: 20.94 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.2834, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.2836, allocations: 75.38 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2836, allocations: 3.938 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002604/0.2839, allocations: 101.6 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.284, allocations: 59.39 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.2841, allocations: 121.8 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.2841, allocations: 29.7 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.2842, allocations: 96.05 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.2842, allocations: 7.906 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2843, allocations: 53.67 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2844, allocations: 318.8 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.2846, allocations: 55.97 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.2847, allocations: 104.2 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.2849, allocations: 155.6 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.285, allocations: 8 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004229/0.2854, allocations: 260.8 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.2854, allocations: 71.34 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2855, allocations: 0 / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2855, allocations: 7.984 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.951e-05/0.2855, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2855, allocations: 4 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.2859, allocations: 55.97 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.2859, allocations: 16.45 kB / 1.069 GB, free: 8.84 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: 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 9.55e-05/0.286, allocations: 129.7 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.286, allocations: 4 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.2861, allocations: 8.359 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2861, allocations: 0 / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2861, allocations: 3.938 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2861, allocations: 4 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.2862, allocations: 181.6 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2862, allocations: 0 / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-05/0.2863, allocations: 4 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2863, allocations: 3.984 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2863, allocations: 0 / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2863, allocations: 0 / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2863, allocations: 0 / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.2864, allocations: 120.9 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.2865, allocations: 85.02 kB / 1.069 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.2865, allocations: 0 / 1.069 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.822e-05/0.2865, allocations: 0 / 1.069 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.2865, allocations: 11.98 kB / 1.069 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.2866, allocations: 4 kB / 1.069 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.2866, allocations: 87.27 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2866, allocations: 4 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002295/0.2869, allocations: 24 kB / 1.07 GB, free: 8.082 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 ($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.0004265/0.2873, allocations: 0.6649 MB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003042/0.2876, allocations: 242.7 kB / 1.07 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2876, allocations: 0 / 1.07 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/0.2877, allocations: 27.98 kB / 1.07 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.2879, allocations: 20.23 kB / 1.07 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.2896, allocations: 1.706 MB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.2899, allocations: 0.6807 MB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.2899, allocations: 7.984 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.2899, allocations: 15.44 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2899, allocations: 0 / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.3091, allocations: 2.869 MB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.475, allocations: 13.89 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches