Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001947/0.001947, allocations: 110 kB / 18.93 MB, free: 2.945 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.00205/0.00205, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.496/1.496, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.768/2.768, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 160.8 MB / 1.218 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002117/1.042, allocations: 0.7152 MB / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00203/1.044, allocations: 1.277 MB / 1.22 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/1.045, allocations: 1.156 kB / 1.22 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/1.045, allocations: 11.86 kB / 1.22 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/1.045, allocations: 18.73 kB / 1.22 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009988/1.046, allocations: 313.3 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003997/1.046, allocations: 254.8 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/1.046, allocations: 19.84 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/1.046, allocations: 96.48 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/1.047, allocations: 99.86 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/1.047, allocations: 22.12 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/1.047, allocations: 36.62 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/1.047, allocations: 17.73 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/1.047, allocations: 87 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/1.047, allocations: 223.6 kB / 1.222 GB, free: 1.375 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.047, allocations: 0 / 1.222 GB, free: 1.375 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/1.047, allocations: 0 / 1.222 GB, free: 1.375 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.047, allocations: 1.312 kB / 1.222 GB, free: 1.375 MB / 0.92 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.0007433/1.048, allocations: 0.4891 MB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.048, allocations: 9.688 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/1.048, allocations: 15.64 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/1.048, allocations: 176.4 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/1.048, allocations: 15.7 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/1.048, allocations: 17.19 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/1.048, allocations: 59.41 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.049, allocations: 3.938 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.049, allocations: 1.156 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/1.049, allocations: 1.062 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.95e-05/1.049, allocations: 22.52 kB / 1.222 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/1.049, allocations: 410.3 kB / 1.223 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.058e-05/1.049, allocations: 34.08 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/1.049, allocations: 19.88 kB / 1.223 GB, free: 128 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/1.049, allocations: 1.281 kB / 1.223 GB, free: 128 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/1.05, allocations: 101.5 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/1.05, allocations: 0 / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0003623/1.05, allocations: 145.7 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/1.05, allocations: 56.66 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/1.05, allocations: 139 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/1.05, allocations: 31.8 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/1.05, allocations: 99.86 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/1.05, allocations: 26.91 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.05, allocations: 66.48 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001706/1.051, allocations: 325.3 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/1.051, allocations: 85.58 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/1.051, allocations: 136.7 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/1.051, allocations: 236.9 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.051, allocations: 1.375 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006694/1.052, allocations: 377.3 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.869e-05/1.052, allocations: 96.59 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.052, allocations: 2 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.052, allocations: 2.375 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.255e-05/1.052, allocations: 14.88 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.052, allocations: 6.078 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/1.053, allocations: 83.64 kB / 1.225 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/1.053, allocations: 17.14 kB / 1.225 GB, free: 14.5 MB / 0.9356 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 0.0001615/1.053, allocations: 146.2 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/1.053, allocations: 7.328 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/1.053, allocations: 10.28 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.053, allocations: 5.172 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.053, allocations: 5.328 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.053, allocations: 0 / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/1.053, allocations: 189.4 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.053, allocations: 0 / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/1.053, allocations: 5.953 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/1.053, allocations: 1.188 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.053, allocations: 9.844 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.053, allocations: 0 / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.053, allocations: 0.9688 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/1.053, allocations: 139.8 kB / 1.225 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/1.054, allocations: 87.3 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/1.054, allocations: 2.062 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.863e-05/1.054, allocations: 5.062 kB / 1.225 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/1.054, allocations: 7.266 kB / 1.225 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/1.054, allocations: 7.281 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.807e-05/1.054, allocations: 102 kB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.054, allocations: 0 / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002896/1.054, allocations: 51.34 kB / 1.226 GB, free: 13.8 MB / 0.9356 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.0002124/1.054, allocations: 107.9 kB / 1.226 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005783/1.055, allocations: 325.7 kB / 1.226 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.055, allocations: 4.062 kB / 1.226 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/1.055, allocations: 34.58 kB / 1.226 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/1.055, allocations: 21.91 kB / 1.226 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/1.056, allocations: 189 kB / 1.226 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/1.056, allocations: 0.6954 MB / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.376e-05/1.056, allocations: 14.66 kB / 1.227 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/1.056, allocations: 12.72 kB / 1.227 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/1.056, allocations: 0 / 1.227 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of Templates: time 0.007295/1.064, allocations: 2.667 MB / 1.229 GB, free: 11.16 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.570264208130538]