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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 109 kB / 17.54 MB, free: 4.746 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.001391/0.001391, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] 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.541/2.541, allocations: 476.7 MB / 0.7628 GB, free: 15.24 MB / 0.6075 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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 63.89 kB / 1.107 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.783, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001535/0.7846, allocations: 0.6654 MB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.7857, allocations: 1.191 MB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.7857, allocations: 0.7188 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.7858, allocations: 5.578 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.7858, allocations: 18.84 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.7864, allocations: 211.5 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.7866, allocations: 171.2 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.171e-05/0.7866, allocations: 8.719 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.7867, allocations: 71.66 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.7869, allocations: 66.17 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.7869, allocations: 19.16 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.024e-05/0.787, allocations: 24.28 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.787, allocations: 9.562 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.098e-05/0.7871, allocations: 57.72 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.7872, allocations: 149.8 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7872, allocations: 4.688 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7872, allocations: 0 / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.7872, allocations: 4.812 kB / 1.274 GB, free: 6.082 MB / 0.9981 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.0003864/0.7876, allocations: 429.6 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.7877, allocations: 10.69 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.435e-05/0.7877, allocations: 39.5 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.7877, allocations: 16.27 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.057e-05/0.7878, allocations: 171.5 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.7878, allocations: 5.031 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.7879, allocations: 8.656 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.138e-05/0.7879, allocations: 50.52 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.788, allocations: 3.938 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.788, allocations: 1.094 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.788, allocations: 0 / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.518e-05/0.788, allocations: 14.19 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.7883, allocations: 366.1 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/0.7884, allocations: 30.03 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.7884, allocations: 14.47 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.7884, allocations: 1 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.7886, allocations: 81.92 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.7886, allocations: 3.938 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002079/0.7888, allocations: 104.5 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.7888, allocations: 53.38 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.7889, allocations: 116.1 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.7889, allocations: 29.14 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.7889, allocations: 98.91 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.7889, allocations: 15.31 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.789, allocations: 53.39 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.789, allocations: 322 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.7892, allocations: 58.67 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.7893, allocations: 99.11 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.7895, allocations: 162.5 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7895, allocations: 0.875 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003667/0.7898, allocations: 264.7 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.7899, allocations: 72.78 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7899, allocations: 0.9062 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7899, allocations: 2.062 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.77e-05/0.7899, allocations: 4.438 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7899, allocations: 5.938 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.7902, allocations: 50.47 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.7902, allocations: 16.38 kB / 1.277 GB, free: 3.754 MB / 0.9981 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 6.429e-05/0.7903, allocations: 131.8 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.7903, allocations: 10.02 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.7903, allocations: 13.97 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7903, allocations: 0.9688 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7903, allocations: 0 / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.7903, allocations: 2.109 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.885e-05/0.7904, allocations: 178.5 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7904, allocations: 0 / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-06/0.7904, allocations: 2.562 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7904, allocations: 0.875 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.7904, allocations: 2.734 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.7904, allocations: 0.875 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7904, allocations: 4 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.7906, allocations: 115.6 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.7906, allocations: 82.66 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.7906, allocations: 1.656 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.7906, allocations: 5.766 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.7907, allocations: 4.922 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.7907, allocations: 4.625 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.7907, allocations: 94.14 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7907, allocations: 4.781 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002307/0.7909, allocations: 38.89 kB / 1.277 GB, free: 3.109 MB / 0.9981 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.0002795/0.7912, allocations: 0.646 MB / 1.278 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.7915, allocations: 218.7 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7915, allocations: 4.062 kB / 1.278 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.7915, allocations: 20.77 kB / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.7917, allocations: 15.86 kB / 1.278 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.7932, allocations: 1.717 MB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.7935, allocations: 0.6862 MB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.7935, allocations: 5.156 kB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.7936, allocations: 21.42 kB / 1.281 GB, free: 16.18 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.7936, allocations: 0 / 1.281 GB, free: 16.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.8191, allocations: 2.889 MB / 1.283 GB, free: 15.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/7.751, allocations: 6.625 kB / 1.283 GB, free: 15.7 MB / 1.014 GB " [Timeout remaining time 292] (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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.096479763999923]