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.004385/0.004385, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001259/0.00126, allocations: 187.6 kB / 16.67 MB, free: 5.934 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.522/2.522, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.84 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7228, allocations: 159.1 MB / 1.22 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002175/0.725, allocations: 0.6495 MB / 1.221 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.7268, allocations: 1.186 MB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.7269, allocations: 0 / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.7269, allocations: 3.938 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.727, allocations: 15.84 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.7277, allocations: 220.4 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.728, allocations: 183.8 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.7281, allocations: 11.89 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.7283, allocations: 63.91 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.7284, allocations: 63.83 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.7285, allocations: 16 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.7286, allocations: 31.92 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.7286, allocations: 12 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.7287, allocations: 59.81 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.729, allocations: 142.3 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.729, allocations: 4 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.937e-06/0.729, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.729, allocations: 3.938 kB / 1.223 GB, free: 15.51 MB / 0.9512 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.0005881/0.7296, allocations: 435.6 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.7296, allocations: 12.03 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.7297, allocations: 30.75 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.7298, allocations: 16.89 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.7299, allocations: 172.3 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.7299, allocations: 12.38 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.73, allocations: 12.31 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.7301, allocations: 42.25 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.7301, allocations: 3.938 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.7301, allocations: 3.984 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.7302, allocations: 4 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.7302, allocations: 8 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.7307, allocations: 360.7 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.114e-05/0.7307, allocations: 34.5 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.7308, allocations: 16.86 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.7308, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.731, allocations: 83.45 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.731, allocations: 3.938 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002369/0.7312, allocations: 113.5 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.7313, allocations: 59.39 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.7314, allocations: 113.8 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.7314, allocations: 29.7 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.7315, allocations: 96.09 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.7315, allocations: 11.89 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-05/0.7316, allocations: 49.69 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7317, allocations: 322.8 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.7319, allocations: 63.95 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.732, allocations: 88.27 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.7322, allocations: 167.5 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7322, allocations: 0 / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004107/0.7327, allocations: 252.9 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/0.7327, allocations: 71.39 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7327, allocations: 480 / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.7328, allocations: 11.92 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.512e-05/0.7328, allocations: 0 / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7328, allocations: 4 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.7331, allocations: 63.95 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.7331, allocations: 15.92 kB / 1.225 GB, free: 12.47 MB / 0.9512 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.0001009/0.7333, allocations: 125.7 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.7333, allocations: 7.953 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.7333, allocations: 8.375 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.7333, allocations: 0 / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.7333, allocations: 4 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7333, allocations: 3.984 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.7335, allocations: 177.6 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7335, allocations: 0 / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/0.7335, allocations: 4 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7335, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.7335, allocations: 7.984 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7335, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7335, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.7337, allocations: 113 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.7337, allocations: 81.11 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.7338, allocations: 7.938 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.7338, allocations: 0 / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.7338, allocations: 7.984 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.7338, allocations: 8.062 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.7339, allocations: 87.27 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7339, allocations: 4 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002332/0.7341, allocations: 31.94 kB / 1.226 GB, free: 11.7 MB / 0.9512 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.0004659/0.7346, allocations: 0.6559 MB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.735, allocations: 246.7 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.735, allocations: 0 / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/0.735, allocations: 28.17 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.7352, allocations: 24.2 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.7371, allocations: 1.714 MB / 1.229 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.7374, allocations: 0.6885 MB / 1.229 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.534e-05/0.7374, allocations: 4 kB / 1.229 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.7375, allocations: 15.44 kB / 1.229 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7375, allocations: 0 / 1.229 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3251/1.063, allocations: 2.89 MB / 1.232 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/9.612, allocations: 13.97 kB / 1.232 GB, free: 5.344 MB / 0.9512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 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.mat","/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