Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.001269/0.001269, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001311/0.001311, allocations: 186 kB / 20.78 MB, free: 1.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.406/1.406, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.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.728/2.728, allocations: 476.7 MB / 0.7629 GB, free: 15.2 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.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 68.08 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9019/0.9039, allocations: 168.7 MB / 1.272 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001838/0.9057, allocations: 0.7223 MB / 1.272 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.9071, allocations: 1.267 MB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.9072, allocations: 0 / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.9072, allocations: 5.234 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.9073, allocations: 25.84 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007724/0.9081, allocations: 311.1 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.9084, allocations: 256.3 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.9085, allocations: 13.75 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.9086, allocations: 98.53 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.9087, allocations: 92.59 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.9088, allocations: 22.12 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.096e-05/0.9089, allocations: 44.3 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.9089, allocations: 18.77 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.909, allocations: 83.45 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.9093, allocations: 214.9 kB / 1.275 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.9093, allocations: 0 / 1.275 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9093, allocations: 0.7031 kB / 1.275 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.9093, allocations: 0.9688 kB / 1.275 GB, free: 5.895 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004847/0.9098, allocations: 0.4908 MB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.9098, allocations: 9.781 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.9098, allocations: 33.78 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.9099, allocations: 19.02 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.492e-05/0.91, allocations: 177.4 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.91, allocations: 10.81 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.91, allocations: 15.11 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.9102, allocations: 63.75 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.9102, allocations: 0.6875 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.9102, allocations: 0.8438 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.9102, allocations: 0.7188 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.834e-05/0.9102, allocations: 23.52 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.9107, allocations: 424 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.994e-05/0.9108, allocations: 33.33 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.9108, allocations: 20.12 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.9108, allocations: 1.094 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.911, allocations: 98.16 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.911, allocations: 4 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0002924/0.9113, allocations: 138.8 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.9113, allocations: 57.62 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.9114, allocations: 140.5 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.9114, allocations: 31.8 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.9115, allocations: 96.3 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.9115, allocations: 21.19 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.9116, allocations: 66.14 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.9117, allocations: 329.1 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.9119, allocations: 91.23 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.9121, allocations: 132.8 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.9123, allocations: 235.7 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.9123, allocations: 0.7812 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000584/0.9129, allocations: 380.5 kB / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.913, allocations: 107.8 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.913, allocations: 2.031 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.913, allocations: 2.188 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.23e-05/0.913, allocations: 7.219 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.913, allocations: 2.812 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.9135, allocations: 88.31 kB / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.9135, allocations: 19.62 kB / 1.278 GB, free: 3.258 MB / 0.9981 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,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 9.312e-05/0.9136, allocations: 134.7 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.9136, allocations: 7.703 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.9137, allocations: 11.06 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.9137, allocations: 4.766 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9137, allocations: 0.75 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.9137, allocations: 0.6562 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.9138, allocations: 200.5 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.9138, allocations: 6.297 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.9138, allocations: 5.719 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.9138, allocations: 0.7812 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.9138, allocations: 1.719 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.9138, allocations: 1.453 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9138, allocations: 0 / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.914, allocations: 143.9 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.914, allocations: 82.81 kB / 1.278 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.914, allocations: 6.656 kB / 1.278 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.573e-05/0.9141, allocations: 6.578 kB / 1.278 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.9141, allocations: 10.72 kB / 1.278 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.9141, allocations: 3.625 kB / 1.278 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.913e-05/0.9142, allocations: 99.83 kB / 1.279 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9142, allocations: 0.9688 kB / 1.279 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002736/0.9144, allocations: 43.09 kB / 1.279 GB, free: 2.598 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.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.0004005/0.9148, allocations: 0.6879 MB / 1.279 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004292/0.9153, allocations: 327.2 kB / 1.28 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9153, allocations: 0 / 1.28 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.308e-05/0.9153, allocations: 31.66 kB / 1.28 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.9156, allocations: 30.19 kB / 1.28 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.9181, allocations: 2.079 MB / 1.282 GB, free: 16.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.9184, allocations: 0.6935 MB / 1.282 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.473e-05/0.9185, allocations: 12.28 kB / 1.282 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.9185, allocations: 32.16 kB / 1.282 GB, free: 15.36 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/0.9185, allocations: 3.938 kB / 1.282 GB, free: 15.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.9459, allocations: 3.821 MB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.921, allocations: 5.719 kB / 1.286 GB, free: 14.8 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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: 14.762061672983691]