Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001018, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 172.4 kB / 16.92 MB, free: 6.652 MB / 14.72 MB 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: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.734/2.734, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003711, allocations: 8.156 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.315, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005569/0.3206, allocations: 4.506 MB / 1.064 GB, free: 468 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1553/0.4759, allocations: 146.7 MB / 1.207 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.477, allocations: 19.81 kB / 1.207 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008357/0.4779, allocations: 154.8 kB / 1.207 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.4801, allocations: 489.2 kB / 1.208 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.4824, allocations: 0.7284 MB / 1.208 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001935/0.4844, allocations: 1.327 MB / 1.21 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.4854, allocations: 0.5517 MB / 1.21 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007379/0.4862, allocations: 370.2 kB / 1.211 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.4869, allocations: 407 kB / 1.211 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.4871, allocations: 31.94 kB / 1.211 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009777/0.4881, allocations: 367.6 kB / 1.211 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.4884, allocations: 191.1 kB / 1.211 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005541/0.489, allocations: 494.8 kB / 1.212 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.4905, allocations: 1.188 MB / 1.213 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4905, allocations: 4 kB / 1.213 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.083e-06/0.4905, allocations: 0 / 1.213 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.92e-05/0.4906, allocations: 0 / 1.213 GB, free: 6.863 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002926/0.4935, allocations: 1.253 MB / 1.214 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4936, allocations: 11.97 kB / 1.214 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.4947, allocations: 199.4 kB / 1.215 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.496, allocations: 0.7506 MB / 1.215 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.4961, allocations: 66 kB / 1.215 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.4963, allocations: 83.98 kB / 1.215 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.4981, allocations: 0.9496 MB / 1.216 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.4981, allocations: 0 / 1.216 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.06e-05/0.4982, allocations: 39.94 kB / 1.216 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.4983, allocations: 20 kB / 1.216 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.5002, allocations: 1.136 MB / 1.218 GB, free: 2.227 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005479/0.5057, allocations: 2.784 MB / 1.22 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.5084, allocations: 0.9119 MB / 1.221 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/0.5091, allocations: 322.7 kB / 1.221 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.5092, allocations: 28.69 kB / 1.221 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001513/0.5107, allocations: 0.5159 MB / 1.222 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 4.398e-06/0.5108, allocations: 0 / 1.222 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.005054/0.5158, allocations: 1.27 MB / 1.223 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.516, allocations: 196.9 kB / 1.223 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.5177, allocations: 0.6448 MB / 1.224 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.5179, allocations: 41.7 kB / 1.224 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005457/0.5184, allocations: 404.4 kB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/0.5188, allocations: 276.2 kB / 1.225 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.519, allocations: 65.69 kB / 1.225 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002564/0.5193, allocations: 386.8 kB / 1.225 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009371/0.5203, allocations: 277.8 kB / 1.225 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.5214, allocations: 387 kB / 1.226 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.5233, allocations: 0.6359 MB / 1.226 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5233, allocations: 0 / 1.226 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003436/0.5267, allocations: 0.8878 MB / 1.227 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.5268, allocations: 4 kB / 1.227 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.5268, allocations: 7.938 kB / 1.227 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008497/0.5277, allocations: 76.88 kB / 1.227 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.5287, allocations: 179.8 kB / 1.228 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.5318, allocations: 1.531 MB / 1.229 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.5331, allocations: 103.4 kB / 1.229 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.5333, allocations: 39.97 kB / 1.229 GB, free: 5.855 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0008455/0.5341, allocations: 283.6 kB / 1.229 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/0.5346, allocations: 82.97 kB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/0.5393, allocations: 1.144 MB / 1.231 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.5394, allocations: 12 kB / 1.231 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5394, allocations: 0 / 1.231 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/0.5394, allocations: 11.86 kB / 1.231 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/0.5463, allocations: 2.024 MB / 1.233 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.5463, allocations: 0 / 1.233 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.5477, allocations: 151.8 kB / 1.233 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009522/0.5487, allocations: 88.77 kB / 1.233 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.5488, allocations: 23.98 kB / 1.233 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003447/0.5522, allocations: 1.552 MB / 1.234 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5523, allocations: 0 / 1.234 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/0.5566, allocations: 1.051 MB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008786/0.5575, allocations: 295.6 kB / 1.236 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/0.5579, allocations: 27.92 kB / 1.236 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.5594, allocations: 82.17 kB / 1.236 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.5597, allocations: 84.81 kB / 1.236 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.5598, allocations: 39.98 kB / 1.236 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001344/0.5612, allocations: 467 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.4e-07/0.5612, allocations: 0 / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001788/0.563, allocations: 331.2 kB / 1.237 GB, free: 13.88 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002789/0.5658, allocations: 0.6042 MB / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003554/0.5694, allocations: 0.8702 MB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.5694, allocations: 4.188 kB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.5714, allocations: 0.5471 MB / 1.239 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/0.5744, allocations: 274.1 kB / 1.239 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006748/0.5811, allocations: 2.189 MB / 1.241 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.5824, allocations: 1.038 MB / 1.242 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/0.5832, allocations: 119.4 kB / 1.242 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of SimCode: time 1.633e-06/0.5832, allocations: 4 kB / 1.242 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of Templates: time 0.6599/1.243, allocations: 18.78 MB / 1.261 GB, free: 184 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches