Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.001035/0.001035, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001088/0.001088, allocations: 197.1 kB / 16.26 MB, free: 6.625 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.293/1.293, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.667/2.667, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.91 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5716/0.573, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001855/0.5748, allocations: 0.781 MB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.5763, allocations: 1.253 MB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.5763, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.5764, allocations: 3.938 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.5765, allocations: 19.91 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.5772, allocations: 282.7 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.5775, allocations: 275.5 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.829e-05/0.5776, allocations: 20.16 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.5778, allocations: 99.94 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.5779, allocations: 75.69 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.5779, allocations: 24 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.578, allocations: 39.98 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.5781, allocations: 15.92 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.738e-05/0.5782, allocations: 83.8 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.5784, allocations: 221.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5784, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5784, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.5784, allocations: 0 / 1.02 GB, free: 15.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005509/0.579, allocations: 492.2 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.579, allocations: 19.91 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.5791, allocations: 34.75 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.5791, allocations: 24.83 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.5793, allocations: 176.3 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.5793, allocations: 4.375 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.5793, allocations: 16.38 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.5794, allocations: 57.98 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5795, allocations: 3.984 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.5795, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5795, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.5795, allocations: 23.94 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.58, allocations: 420.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.5801, allocations: 30.56 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/0.5802, allocations: 16.86 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.5802, allocations: 3.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.5804, allocations: 115.3 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.5804, allocations: 3.938 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0002733/0.5806, allocations: 137.5 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.5807, allocations: 51.41 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5808, allocations: 135.7 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.5808, allocations: 33.7 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.5809, allocations: 100 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.581, allocations: 15.81 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.5811, allocations: 69.67 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5812, allocations: 326.8 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.5814, allocations: 83.95 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.5816, allocations: 139.6 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.5818, allocations: 239 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5818, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005488/0.5824, allocations: 379.6 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.5825, allocations: 97.08 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5825, allocations: 4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5825, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-05/0.5825, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5825, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.583, allocations: 87.83 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.5831, allocations: 23.92 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001349/0.5832, allocations: 130.2 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.5833, allocations: 7.906 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.5833, allocations: 12.38 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5833, allocations: 3.984 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5833, allocations: 0 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5833, allocations: 4 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.5835, allocations: 190 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5835, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.5835, allocations: 11.98 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5835, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.5835, allocations: 3.938 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.5835, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5835, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.5837, allocations: 132.9 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.5837, allocations: 93 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.5838, allocations: 4 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.385e-05/0.5838, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.5839, allocations: 11.98 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.5839, allocations: 4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.5839, allocations: 96.39 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5839, allocations: 3.938 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000259/0.5842, allocations: 44 kB / 1.024 GB, free: 11.04 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004532/0.5847, allocations: 0.6826 MB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.5851, allocations: 370 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5851, allocations: 4 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.5852, allocations: 31.98 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.5855, allocations: 35.23 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.5878, allocations: 2.072 MB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.5881, allocations: 0.6924 MB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.987e-05/0.5881, allocations: 8.422 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.5882, allocations: 31.36 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5882, allocations: 0 / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.6028, allocations: 3.687 MB / 1.031 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.603, allocations: 194.4 kB / 1.032 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.515, allocations: 0 / 1.032 GB, free: 3.102 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches