Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_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.007458/0.007458, allocations: 102.3 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.001507/0.001508, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.646/2.646, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.84 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3327, allocations: 140.4 MB / 1.088 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002177/0.3349, allocations: 0.6559 MB / 1.088 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3366, allocations: 1.188 MB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.3367, allocations: 0 / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.3367, allocations: 7.922 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.3368, allocations: 11.88 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007879/0.3376, allocations: 212.4 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.3379, allocations: 183.6 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.338, allocations: 19.98 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3382, allocations: 67.89 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.3383, allocations: 59.84 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.3384, allocations: 16 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-05/0.3385, allocations: 27.98 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.3385, allocations: 11.92 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.3386, allocations: 51.89 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3388, allocations: 154.3 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3388, allocations: 3.984 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3389, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3389, allocations: 0 / 1.09 GB, free: 15.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005681/0.3394, allocations: 435.6 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3395, allocations: 8.031 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.3395, allocations: 34.73 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.3396, allocations: 12.84 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3397, allocations: 164.4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3398, allocations: 4.375 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.3398, allocations: 12.38 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.34, allocations: 54.23 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.34, allocations: 3.938 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.34, allocations: 3.938 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.34, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.3401, allocations: 12 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.3406, allocations: 356.6 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.3407, allocations: 34.56 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.3407, allocations: 16.86 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.3407, allocations: 7.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.3409, allocations: 83.45 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3409, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002527/0.3411, allocations: 101.6 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3412, allocations: 55.41 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3413, allocations: 121.7 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.3414, allocations: 37.7 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.3414, allocations: 96.03 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.3414, allocations: 7.906 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.3416, allocations: 53.69 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3417, allocations: 326.7 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3418, allocations: 59.97 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.342, allocations: 96 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3422, allocations: 151.6 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3422, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004159/0.3426, allocations: 268.8 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.3427, allocations: 67.39 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3427, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3427, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.485e-05/0.3427, allocations: 7.938 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3427, allocations: 320 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.3431, allocations: 60.25 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.3431, allocations: 16.08 kB / 1.093 GB, free: 12.3 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: 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.0001102/0.3433, allocations: 121.8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.3433, allocations: 7.984 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.3433, allocations: 16.36 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3433, allocations: 3.938 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3433, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3433, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.3436, allocations: 173.6 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3436, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.3436, allocations: 11.92 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3436, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3436, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3436, allocations: 3.984 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3436, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3438, allocations: 113 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.3439, allocations: 81.02 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3439, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.3439, allocations: 12 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.344, allocations: 4.047 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.344, allocations: 8 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.344, allocations: 91.27 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3441, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002532/0.3443, allocations: 32 kB / 1.093 GB, free: 11.54 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 ($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.0005479/0.3449, allocations: 0.6669 MB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003985/0.3453, allocations: 238.7 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3453, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.424e-05/0.3453, allocations: 27.92 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3456, allocations: 17.7 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.3479, allocations: 1.717 MB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3483, allocations: 0.6885 MB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.657e-05/0.3484, allocations: 4 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.3484, allocations: 19.42 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of SimCode: time 1.112e-06/0.3484, allocations: 3.938 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.3716, allocations: 2.865 MB / 1.1 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.131, allocations: 17.33 kB / 1.1 GB, free: 5.184 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches