Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_10_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.001423/0.001423, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001447/0.001447, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6462, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002269/0.6486, allocations: 0.7266 MB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.6501, allocations: 1.179 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.6502, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.6502, allocations: 7.938 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.28e-05/0.6503, allocations: 11.91 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006816/0.651, allocations: 197.9 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.6512, allocations: 183.6 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.6513, allocations: 19.92 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.6515, allocations: 71.88 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.6516, allocations: 47.88 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.6516, allocations: 16 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.475e-05/0.6517, allocations: 27.98 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.6518, allocations: 8 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.6518, allocations: 55.81 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.6521, allocations: 157.9 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.6521, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6521, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.6521, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 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.0005464/0.6527, allocations: 444 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.6527, allocations: 8.031 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.6528, allocations: 30.75 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.6528, allocations: 16.83 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.653, allocations: 172.3 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.653, allocations: 8.375 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.653, allocations: 8.375 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.6531, allocations: 46.25 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6532, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.6532, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.6532, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.6532, allocations: 15.98 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.6537, allocations: 356.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.6538, allocations: 26.67 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.6538, allocations: 20.84 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.6539, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.654, allocations: 83.31 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.6541, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000248/0.6543, allocations: 101.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.6544, allocations: 59.41 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.6545, allocations: 125.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.6545, allocations: 29.7 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.6546, allocations: 92.14 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.6546, allocations: 15.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.6547, allocations: 49.69 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6548, allocations: 318.8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.655, allocations: 59.97 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.6551, allocations: 90.38 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.6553, allocations: 167.6 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6553, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004246/0.6557, allocations: 260.8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.6558, allocations: 67.53 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.6558, allocations: 7.984 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6558, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.346e-05/0.6559, allocations: 11.88 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6559, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.6562, allocations: 55.88 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.6563, allocations: 11.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 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.0001048/0.6564, allocations: 130.8 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.6564, allocations: 3.906 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.6565, allocations: 16.36 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6565, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6565, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6565, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.6566, allocations: 177.6 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6566, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.6566, allocations: 7.922 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6567, allocations: 8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.6567, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6567, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6567, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.6568, allocations: 109.3 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.6569, allocations: 81.11 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.6569, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.902e-05/0.6569, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.657, allocations: 11.98 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.657, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.657, allocations: 91.27 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.657, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002422/0.6573, allocations: 39.91 kB / 1.023 GB, free: 12.2 MB / 0.7794 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.0004233/0.6577, allocations: 0.6554 MB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.658, allocations: 246.7 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6581, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.774e-05/0.6581, allocations: 31.92 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.6583, allocations: 13.55 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.6602, allocations: 1.727 MB / 1.025 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.6604, allocations: 0.6846 MB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.607e-05/0.6604, allocations: 11.97 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.6605, allocations: 19.44 kB / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6605, allocations: 0 / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.6737, allocations: 2.754 MB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.6739, allocations: 204.7 kB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.405, allocations: 0 / 1.029 GB, free: 5.734 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches