Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 106.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] 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.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.91 kB / 1.104 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.835/0.837, allocations: 168.7 MB / 1.269 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002144/0.8392, allocations: 0.8298 MB / 1.27 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.8412, allocations: 1.499 MB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.8412, allocations: 3.938 kB / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.8414, allocations: 19.8 kB / 1.271 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.958e-05/0.8415, allocations: 31.72 kB / 1.271 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.8429, allocations: 0.517 MB / 1.272 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005752/0.8435, allocations: 475.3 kB / 1.272 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.8436, allocations: 37.42 kB / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.8438, allocations: 187.6 kB / 1.272 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.8441, allocations: 175.6 kB / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.8442, allocations: 40 kB / 1.272 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.8443, allocations: 55.98 kB / 1.273 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.8443, allocations: 43.84 kB / 1.273 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.8445, allocations: 155.5 kB / 1.273 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.845, allocations: 416.5 kB / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.845, allocations: 7.922 kB / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.624e-06/0.845, allocations: 0 / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.845, allocations: 0 / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008324/0.8458, allocations: 0.6475 MB / 1.274 GB, free: 16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.8459, allocations: 12.03 kB / 1.274 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.8459, allocations: 46.73 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.745e-05/0.846, allocations: 28.84 kB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.8464, allocations: 260.6 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.8464, allocations: 20.36 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.8465, allocations: 32.38 kB / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.8467, allocations: 147.9 kB / 1.274 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8467, allocations: 3.938 kB / 1.274 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.8468, allocations: 8 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.8468, allocations: 7.938 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.8469, allocations: 87.88 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009358/0.8479, allocations: 0.7031 MB / 1.275 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.8481, allocations: 167.6 kB / 1.275 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.046e-05/0.8481, allocations: 40.78 kB / 1.275 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.8482, allocations: 4 kB / 1.275 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.8485, allocations: 157.6 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.8485, allocations: 0 / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004677/0.8489, allocations: 243.3 kB / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.849, allocations: 71.33 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.8492, allocations: 178.3 kB / 1.276 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.8492, allocations: 41.7 kB / 1.276 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.8493, allocations: 120.6 kB / 1.276 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.8494, allocations: 47.62 kB / 1.276 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.8496, allocations: 117.6 kB / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.8498, allocations: 326.8 kB / 1.277 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.8501, allocations: 159.9 kB / 1.277 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.8505, allocations: 240.7 kB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.851, allocations: 410.6 kB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.851, allocations: 0 / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001068/0.8521, allocations: 0.6276 MB / 1.278 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.8523, allocations: 168.4 kB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.8523, allocations: 0 / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.8523, allocations: 4.344 kB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.17e-05/0.8523, allocations: 20 kB / 1.278 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.8523, allocations: 4 kB / 1.278 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.853, allocations: 147.6 kB / 1.278 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.8531, allocations: 27.97 kB / 1.278 GB, free: 11.01 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001939/0.8533, allocations: 159.5 kB / 1.278 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.8533, allocations: 19.84 kB / 1.278 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.8534, allocations: 17.86 kB / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8534, allocations: 4 kB / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8534, allocations: 4 kB / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.8534, allocations: 0 / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.854, allocations: 0.5022 MB / 1.279 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.854, allocations: 3.984 kB / 1.279 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.746e-05/0.854, allocations: 4 kB / 1.279 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8541, allocations: 3.938 kB / 1.279 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.8541, allocations: 8.094 kB / 1.279 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8541, allocations: 3.938 kB / 1.279 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8541, allocations: 3.984 kB / 1.279 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.8544, allocations: 288.8 kB / 1.279 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.8545, allocations: 96.95 kB / 1.279 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.8546, allocations: 7.984 kB / 1.279 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.359e-05/0.8546, allocations: 4 kB / 1.279 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.8547, allocations: 19.94 kB / 1.279 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.8547, allocations: 11.98 kB / 1.279 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.39e-05/0.8548, allocations: 124.2 kB / 1.279 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8548, allocations: 0 / 1.279 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003632/0.8552, allocations: 80 kB / 1.28 GB, free: 9.559 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007491/0.8559, allocations: 0.8356 MB / 1.28 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007817/0.8567, allocations: 0.5519 MB / 1.281 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8567, allocations: 0 / 1.281 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.8568, allocations: 59.91 kB / 1.281 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.8572, allocations: 55.94 kB / 1.281 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.8614, allocations: 3.014 MB / 1.284 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.8618, allocations: 0.7242 MB / 1.285 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.416e-05/0.8619, allocations: 21.55 kB / 1.285 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.8619, allocations: 55.42 kB / 1.285 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/0.8619, allocations: 0 / 1.285 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.8924, allocations: 6.398 MB / 1.291 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/9.283, allocations: 6.641 kB / 1.291 GB, free: 13.71 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.333181776106358]