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.001027/0.001027, 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.001283/0.001283, allocations: 193.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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.593/2.593, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.6439, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002107/0.6461, allocations: 0.7183 MB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.6479, allocations: 1.257 MB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.648, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.648, allocations: 7.922 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.6482, allocations: 19.86 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.6493, allocations: 315.3 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.6497, allocations: 271.5 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.6498, allocations: 20.17 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.6501, allocations: 99.86 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.6502, allocations: 75.77 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.52e-05/0.6503, allocations: 20 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.6505, allocations: 35.98 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.6505, allocations: 19.92 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.6506, allocations: 79.8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.651, allocations: 221.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.651, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.254e-06/0.651, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.651, allocations: 0 / 1.02 GB, free: 15.36 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.0007408/0.6518, allocations: 496.2 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.6518, allocations: 15.97 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.314e-05/0.6519, allocations: 38.67 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.652, allocations: 16.84 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.6521, allocations: 172.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.6521, allocations: 16.36 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.6522, allocations: 16.38 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.6523, allocations: 61.92 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.6523, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.6523, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.6523, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.6524, allocations: 23.92 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.653, allocations: 416.5 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.6531, allocations: 30.56 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.6531, allocations: 20.94 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.6531, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.6533, allocations: 107.3 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.6533, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003109/0.6536, allocations: 145.5 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.6537, allocations: 55.39 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.6538, allocations: 134.6 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.6539, allocations: 33.7 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.6539, allocations: 96.05 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.654, allocations: 19.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.6541, allocations: 65.67 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6543, allocations: 322.8 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.6545, allocations: 91.94 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.6547, allocations: 139.4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.655, allocations: 235 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.655, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006106/0.6556, allocations: 370.5 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/0.6557, allocations: 101 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6557, allocations: 192 / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.6558, allocations: 8 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.398e-05/0.6558, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.6558, allocations: 4.375 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/0.6564, allocations: 91.67 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.6564, allocations: 23.92 kB / 1.024 GB, free: 11.71 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.0001243/0.6566, allocations: 133.7 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.6566, allocations: 11.89 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.6566, allocations: 12.38 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.6566, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6566, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.6566, allocations: 4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.6568, allocations: 193.6 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6568, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.6568, allocations: 8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6568, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.6569, allocations: 4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6569, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6569, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.6571, allocations: 136.9 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.6571, allocations: 85.02 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.6571, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.443e-05/0.6572, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.6572, allocations: 11.98 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.6572, allocations: 7.984 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.923e-05/0.6573, allocations: 96.53 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6573, allocations: 0 / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002707/0.6576, allocations: 44 kB / 1.024 GB, free: 10.88 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.0005684/0.6582, allocations: 0.6903 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004965/0.6587, allocations: 370 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6587, allocations: 0 / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.644e-05/0.6587, allocations: 39.98 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.659, allocations: 16.36 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.6618, allocations: 2.055 MB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.6622, allocations: 0.6963 MB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.038e-05/0.6622, allocations: 4.438 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.6623, allocations: 31.36 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of SimCode: time 1.162e-06/0.6623, allocations: 4 kB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.6845, allocations: 3.784 MB / 1.032 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.476, allocations: 7.031 kB / 1.032 GB, free: 3.059 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