Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 102.6 kB / 16.4 MB, free: 6.453 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 194.8 kB / 19.36 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437 MB / 0.717 GB, free: 4.152 MB / 0.5762 GB [Timeout remaining time 87] 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.89 kB / 1.027 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 151.6 MB / 1.175 GB, free: 17.96 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002578/1.066, allocations: 0.7859 MB / 1.176 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001914/1.068, allocations: 1.162 MB / 1.177 GB, free: 16.6 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/1.068, allocations: 0 / 1.177 GB, free: 16.6 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/1.069, allocations: 4.875 kB / 1.177 GB, free: 16.6 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/1.069, allocations: 11.91 kB / 1.177 GB, free: 16.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/1.069, allocations: 136.6 kB / 1.177 GB, free: 16.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002841/1.07, allocations: 132.9 kB / 1.177 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/1.07, allocations: 16.48 kB / 1.177 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/1.07, allocations: 55.08 kB / 1.177 GB, free: 16.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/1.07, allocations: 53.64 kB / 1.177 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/1.07, allocations: 10.59 kB / 1.177 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/1.07, allocations: 25.69 kB / 1.178 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/1.07, allocations: 21.5 kB / 1.178 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/1.07, allocations: 39.44 kB / 1.178 GB, free: 16.37 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/1.071, allocations: 127.9 kB / 1.178 GB, free: 16.33 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.071, allocations: 0 / 1.178 GB, free: 16.33 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/1.071, allocations: 0 / 1.178 GB, free: 16.33 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.071, allocations: 0 / 1.178 GB, free: 16.33 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.0007819/1.072, allocations: 432.2 kB / 1.178 GB, free: 15.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.072, allocations: 10.77 kB / 1.178 GB, free: 15.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/1.072, allocations: 10.92 kB / 1.178 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/1.072, allocations: 177.4 kB / 1.178 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/1.072, allocations: 3 kB / 1.178 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/1.072, allocations: 7.734 kB / 1.178 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/1.072, allocations: 79.72 kB / 1.178 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.072, allocations: 192 / 1.178 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/1.072, allocations: 8.781 kB / 1.178 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.072, allocations: 1.219 kB / 1.178 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/1.073, allocations: 70.75 kB / 1.178 GB, free: 15.63 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/1.073, allocations: 335.6 kB / 1.179 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/1.074, allocations: 55.16 kB / 1.179 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/1.074, allocations: 40.3 kB / 1.179 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/1.074, allocations: 1.406 kB / 1.179 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/1.074, allocations: 99.31 kB / 1.179 GB, free: 15.22 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/1.074, allocations: 3.938 kB / 1.179 GB, free: 15.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0008248/1.075, allocations: 168.3 kB / 1.179 GB, free: 15.15 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.075, allocations: 56.72 kB / 1.179 GB, free: 15.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/1.075, allocations: 122.2 kB / 1.179 GB, free: 14.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/1.075, allocations: 27.02 kB / 1.179 GB, free: 14.95 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/1.076, allocations: 98.33 kB / 1.179 GB, free: 14.86 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/1.076, allocations: 15.66 kB / 1.179 GB, free: 14.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/1.076, allocations: 36 kB / 1.179 GB, free: 14.82 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.076, allocations: 323.1 kB / 1.18 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/1.076, allocations: 61.44 kB / 1.18 GB, free: 14.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/1.076, allocations: 80.98 kB / 1.18 GB, free: 14.45 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/1.077, allocations: 142.7 kB / 1.18 GB, free: 14.36 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.077, allocations: 1.953 kB / 1.18 GB, free: 14.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007107/1.078, allocations: 214.4 kB / 1.18 GB, free: 14.26 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/1.078, allocations: 34.92 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.078, allocations: 1.312 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/1.078, allocations: 5.188 kB / 1.18 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/1.078, allocations: 25.12 kB / 1.18 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.078, allocations: 5.281 kB / 1.18 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/1.078, allocations: 35.33 kB / 1.18 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/1.078, allocations: 6.547 kB / 1.18 GB, free: 14.21 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.766e-05/1.078, allocations: 125.5 kB / 1.18 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/1.078, allocations: 6.422 kB / 1.18 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/1.078, allocations: 11.19 kB / 1.181 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/1.078, allocations: 1.219 kB / 1.181 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.078, allocations: 0.6094 kB / 1.181 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/1.078, allocations: 1.156 kB / 1.181 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/1.078, allocations: 183 kB / 1.181 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.078, allocations: 1.641 kB / 1.181 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/1.079, allocations: 16.42 kB / 1.181 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.079, allocations: 0 / 1.181 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/1.079, allocations: 6.297 kB / 1.181 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.079, allocations: 400 / 1.181 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.079, allocations: 4.641 kB / 1.181 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/1.079, allocations: 160.4 kB / 1.181 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/1.079, allocations: 84.41 kB / 1.181 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/1.079, allocations: 10.08 kB / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/1.079, allocations: 10.72 kB / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/1.079, allocations: 9.656 kB / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/1.079, allocations: 2.656 kB / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.644e-05/1.079, allocations: 93.55 kB / 1.181 GB, free: 13.58 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/1.079, allocations: 0 / 1.181 GB, free: 13.58 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002609/1.08, allocations: 24.73 kB / 1.181 GB, free: 13.57 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002052/1.08, allocations: 109.7 kB / 1.181 GB, free: 13.48 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005458/1.08, allocations: 189.3 kB / 1.181 GB, free: 13.38 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.08, allocations: 0 / 1.181 GB, free: 13.38 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/1.081, allocations: 46.92 kB / 1.181 GB, free: 13.38 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/1.081, allocations: 18.3 kB / 1.181 GB, free: 13.37 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/1.081, allocations: 166.3 kB / 1.182 GB, free: 13.22 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/1.081, allocations: 0.6875 MB / 1.182 GB, free: 12.53 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.733e-05/1.082, allocations: 4.016 kB / 1.182 GB, free: 12.53 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/1.082, allocations: 20.36 kB / 1.182 GB, free: 12.51 MB / 0.92 GB Notification: Performance of SimCode: time 3.11e-07/1.082, allocations: 0 / 1.182 GB, free: 12.51 MB / 0.92 GB Notification: Performance of Templates: time 0.006267/1.088, allocations: 1.582 MB / 1.184 GB, free: 12.37 MB / 0.92 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Switch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches