Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 78.97 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 162.1 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.89/2.89, allocations: 389 MB / 0.633 GB, free: 0.9531 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.294e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007085/0.007118, allocations: 4.391 MB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.7652/0.7723, allocations: 132.7 MB / 1.134 GB, free: 45.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009261/0.7733, allocations: 22.25 kB / 1.134 GB, free: 45.22 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.7739, allocations: 199 kB / 1.134 GB, free: 45.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.7756, allocations: 0.577 MB / 1.135 GB, free: 45.22 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.7775, allocations: 0.8727 MB / 1.136 GB, free: 45.22 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.779, allocations: 1.472 MB / 1.137 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006842/0.7797, allocations: 400.8 kB / 1.137 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009504/0.7807, allocations: 0.739 MB / 1.138 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/0.7812, allocations: 410.3 kB / 1.139 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.7814, allocations: 128.5 kB / 1.139 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.7824, allocations: 0.498 MB / 1.139 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.7827, allocations: 315 kB / 1.139 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.7832, allocations: 399.9 kB / 1.14 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.7853, allocations: 1.815 MB / 1.142 GB, free: 45.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7853, allocations: 4.375 kB / 1.142 GB, free: 45.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7853, allocations: 0 / 1.142 GB, free: 45.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.704e-05/0.7853, allocations: 2.688 kB / 1.142 GB, free: 45.04 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002656/0.788, allocations: 1.425 MB / 1.143 GB, free: 44.31 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.788, allocations: 9.531 kB / 1.143 GB, free: 44.31 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.7897, allocations: 242.3 kB / 1.143 GB, free: 44.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.7908, allocations: 0.7164 MB / 1.144 GB, free: 44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.7908, allocations: 65.56 kB / 1.144 GB, free: 44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.7909, allocations: 95.47 kB / 1.144 GB, free: 43.99 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.7924, allocations: 1.189 MB / 1.145 GB, free: 43.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.7924, allocations: 4.094 kB / 1.145 GB, free: 43.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.7925, allocations: 34.44 kB / 1.145 GB, free: 43.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.7925, allocations: 21.56 kB / 1.145 GB, free: 43.54 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.7942, allocations: 1.069 MB / 1.146 GB, free: 43.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.7979, allocations: 2.254 MB / 1.149 GB, free: 42.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.7994, allocations: 0.8102 MB / 1.149 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.7999, allocations: 293.9 kB / 1.15 GB, free: 42.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.531e-05/0.8, allocations: 29.06 kB / 1.15 GB, free: 42.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007923/0.8008, allocations: 0.6077 MB / 1.15 GB, free: 42.58 MB / 1.076 GB Notification: Performance of pre-optimization done (n=87): time 2.555e-06/0.8008, allocations: 0 / 1.15 GB, free: 42.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=87): time 0.002986/0.8037, allocations: 1.17 MB / 1.151 GB, free: 42.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.8038, allocations: 199.8 kB / 1.152 GB, free: 42.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000626/0.8044, allocations: 0.6057 MB / 1.152 GB, free: 42.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.472e-05/0.8045, allocations: 51.53 kB / 1.152 GB, free: 42.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.8047, allocations: 406.3 kB / 1.153 GB, free: 41.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.8049, allocations: 284.9 kB / 1.153 GB, free: 41.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.8051, allocations: 176.8 kB / 1.153 GB, free: 41.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.8052, allocations: 384.6 kB / 1.153 GB, free: 41.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.8057, allocations: 295.4 kB / 1.154 GB, free: 41.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.8063, allocations: 0.5115 MB / 1.154 GB, free: 41.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.8074, allocations: 0.6461 MB / 1.155 GB, free: 41.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.8074, allocations: 3.812 kB / 1.155 GB, free: 41.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001939/0.8093, allocations: 0.9237 MB / 1.156 GB, free: 41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.8094, allocations: 8.094 kB / 1.156 GB, free: 41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.8094, allocations: 5.234 kB / 1.156 GB, free: 41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006193/0.81, allocations: 84.84 kB / 1.156 GB, free: 40.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006471/0.8106, allocations: 166.1 kB / 1.156 GB, free: 40.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.8125, allocations: 1.517 MB / 1.157 GB, free: 39.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.8133, allocations: 89.03 kB / 1.158 GB, free: 39.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.8133, allocations: 40.44 kB / 1.158 GB, free: 39.73 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004563/0.8138, allocations: 281.8 kB / 1.158 GB, free: 39.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.814, allocations: 85.77 kB / 1.158 GB, free: 39.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.8161, allocations: 1.079 MB / 1.159 GB, free: 39.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.8162, allocations: 11.41 kB / 1.159 GB, free: 39.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.8162, allocations: 1.781 kB / 1.159 GB, free: 39.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.8162, allocations: 7.078 kB / 1.159 GB, free: 39.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.8195, allocations: 1.898 MB / 1.161 GB, free: 39.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.8195, allocations: 0.8438 kB / 1.161 GB, free: 39.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005505/0.82, allocations: 150.2 kB / 1.161 GB, free: 39.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.8205, allocations: 73.27 kB / 1.161 GB, free: 39.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.8205, allocations: 28.92 kB / 1.161 GB, free: 39.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.8222, allocations: 1.547 MB / 1.163 GB, free: 37.86 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8222, allocations: 4.578 kB / 1.163 GB, free: 37.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.8242, allocations: 1.031 MB / 1.164 GB, free: 37.64 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.8246, allocations: 193.1 kB / 1.164 GB, free: 37.59 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.8247, allocations: 19.06 kB / 1.164 GB, free: 37.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/0.8254, allocations: 67.17 kB / 1.164 GB, free: 37.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.8256, allocations: 74.34 kB / 1.164 GB, free: 37.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.8256, allocations: 42 kB / 1.164 GB, free: 37.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005291/0.8262, allocations: 434.7 kB / 1.164 GB, free: 37.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8262, allocations: 0 / 1.164 GB, free: 37.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009823/0.8272, allocations: 340.1 kB / 1.165 GB, free: 37.43 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002096/0.8292, allocations: 0.6656 MB / 1.165 GB, free: 37.24 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.831, allocations: 0.8369 MB / 1.166 GB, free: 37.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.831, allocations: 1.531 kB / 1.166 GB, free: 37.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.832, allocations: 0.5079 MB / 1.167 GB, free: 36.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.8334, allocations: 289.4 kB / 1.167 GB, free: 36.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.8367, allocations: 1.678 MB / 1.169 GB, free: 36.31 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.8372, allocations: 439.2 kB / 1.169 GB, free: 36.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009286/0.8381, allocations: 270.1 kB / 1.169 GB, free: 36.15 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.8384, allocations: 106 kB / 1.169 GB, free: 36.14 MB / 1.076 GB Notification: Performance of SimCode: time 6.11e-07/0.8385, allocations: 2.375 kB / 1.169 GB, free: 36.14 MB / 1.076 GB Notification: Performance of Templates: time 0.03392/0.8724, allocations: 15.7 MB / 1.185 GB, free: 34.41 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.682242669165134]