Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001781, allocations: 103.2 kB / 16.27 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 188 kB / 17.2 MB, free: 5.938 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.581/1.581, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437 MB / 0.711 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 60.38 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.284, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006694/0.2907, allocations: 4.835 MB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7246/1.015, allocations: 150.6 MB / 1.17 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/1.016, allocations: 15.53 kB / 1.17 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000842/1.017, allocations: 194.1 kB / 1.17 GB, free: 400 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002376/1.02, allocations: 0.5472 MB / 1.17 GB, free: 76 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/1.022, allocations: 0.827 MB / 1.171 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002012/1.024, allocations: 1.369 MB / 1.173 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/1.026, allocations: 0.5973 MB / 1.173 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/1.027, allocations: 482.6 kB / 1.174 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/1.028, allocations: 0.4964 MB / 1.174 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004058/1.028, allocations: 117.9 kB / 1.174 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/1.03, allocations: 462.4 kB / 1.175 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004627/1.03, allocations: 299 kB / 1.175 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/1.031, allocations: 0.5551 MB / 1.176 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002616/1.034, allocations: 1.6 MB / 1.177 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.034, allocations: 0 / 1.177 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.783e-06/1.034, allocations: 3.938 kB / 1.177 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.622e-05/1.034, allocations: 1.062 kB / 1.177 GB, free: 12.46 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003747/1.038, allocations: 1.418 MB / 1.178 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.038, allocations: 10.45 kB / 1.178 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/1.039, allocations: 187.3 kB / 1.179 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.04, allocations: 0.7376 MB / 1.179 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/1.04, allocations: 60.38 kB / 1.179 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/1.041, allocations: 81.62 kB / 1.18 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/1.043, allocations: 0.916 MB / 1.18 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/1.043, allocations: 5.312 kB / 1.18 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/1.043, allocations: 44.36 kB / 1.18 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/1.043, allocations: 20.53 kB / 1.18 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/1.045, allocations: 1.103 MB / 1.182 GB, free: 9.426 MB / 0.8887 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.005542/1.051, allocations: 2.747 MB / 1.184 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/1.053, allocations: 0.8849 MB / 1.185 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/1.053, allocations: 308.1 kB / 1.185 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.947e-05/1.053, allocations: 31.17 kB / 1.185 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009175/1.054, allocations: 499.1 kB / 1.186 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=79): time 2.865e-06/1.054, allocations: 0 / 1.186 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of matching and sorting (n=79): time 0.003261/1.057, allocations: 1.195 MB / 1.187 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/1.058, allocations: 188.9 kB / 1.187 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009543/1.059, allocations: 0.6219 MB / 1.188 GB, free: 5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.182e-05/1.059, allocations: 41.86 kB / 1.188 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/1.059, allocations: 391 kB / 1.188 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/1.059, allocations: 257.5 kB / 1.189 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/1.06, allocations: 162 kB / 1.189 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.06, allocations: 388.6 kB / 1.189 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/1.06, allocations: 271.6 kB / 1.189 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/1.061, allocations: 362.4 kB / 1.19 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.062, allocations: 0.6077 MB / 1.19 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.062, allocations: 0 / 1.19 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002022/1.064, allocations: 0.8416 MB / 1.191 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.064, allocations: 7.344 kB / 1.191 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.064, allocations: 0 / 1.191 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/1.065, allocations: 85.39 kB / 1.191 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/1.065, allocations: 161.6 kB / 1.191 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/1.068, allocations: 1.651 MB / 1.193 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008327/1.068, allocations: 98.2 kB / 1.193 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/1.068, allocations: 35.55 kB / 1.193 GB, free: 1.039 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$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 (93): * Single equations (assignments): 92 * 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.0005076/1.069, allocations: 274.1 kB / 1.193 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/1.069, allocations: 78.44 kB / 1.193 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/1.072, allocations: 1.062 MB / 1.194 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/1.072, allocations: 7.781 kB / 1.194 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.072, allocations: 4 kB / 1.194 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/1.072, allocations: 7.922 kB / 1.194 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/1.075, allocations: 1.962 MB / 1.196 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.075, allocations: 2.562 kB / 1.196 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/1.076, allocations: 140 kB / 1.196 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/1.076, allocations: 73.88 kB / 1.197 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/1.076, allocations: 23.86 kB / 1.197 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/1.078, allocations: 1.671 MB / 1.198 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.078, allocations: 3.75 kB / 1.198 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/1.08, allocations: 0.9961 MB / 1.199 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/1.081, allocations: 275 kB / 1.199 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/1.081, allocations: 17.53 kB / 1.199 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007142/1.082, allocations: 71.83 kB / 1.2 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/1.082, allocations: 65.91 kB / 1.2 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/1.082, allocations: 38.69 kB / 1.2 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005881/1.083, allocations: 454.1 kB / 1.2 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/1.083, allocations: 0 / 1.2 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001035/1.084, allocations: 323.7 kB / 1.2 GB, free: 11.89 MB / 0.9044 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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001529/1.085, allocations: 0.6052 MB / 1.201 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002447/1.088, allocations: 1.021 MB / 1.202 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.088, allocations: 6.812 kB / 1.202 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009377/1.089, allocations: 0.512 MB / 1.202 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/1.09, allocations: 304.8 kB / 1.203 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/1.093, allocations: 1.685 MB / 1.204 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/1.094, allocations: 1.018 MB / 1.205 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/1.094, allocations: 115.3 kB / 1.205 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of SimCode: time 5.2e-07/1.094, allocations: 0 / 1.205 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of Templates: time 0.02582/1.12, allocations: 18.47 MB / 1.224 GB, free: 6.234 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches