Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 100.1 kB / 15.88 MB, free: 12 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.001943/0.001943, allocations: 200 kB / 16.79 MB, free: 6.828 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 437 MB / 0.7106 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 0.8692 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.6394, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006791/0.6463, allocations: 5.021 MB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.8103, allocations: 148.4 MB / 1.167 GB, free: 8.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.8115, allocations: 15.94 kB / 1.167 GB, free: 8.734 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009053/0.8124, allocations: 150.8 kB / 1.167 GB, free: 8.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.8148, allocations: 487.4 kB / 1.168 GB, free: 8.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.8172, allocations: 0.771 MB / 1.168 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00204/0.8193, allocations: 1.366 MB / 1.17 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.8206, allocations: 0.5903 MB / 1.17 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009571/0.8216, allocations: 450.2 kB / 1.171 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.8226, allocations: 0.5094 MB / 1.171 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003257/0.8229, allocations: 60 kB / 1.171 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.8242, allocations: 427.6 kB / 1.172 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004124/0.8246, allocations: 247 kB / 1.172 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008659/0.8255, allocations: 0.5321 MB / 1.173 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.8272, allocations: 1.259 MB / 1.174 GB, free: 1.898 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8273, allocations: 0 / 1.174 GB, free: 1.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8273, allocations: 0 / 1.174 GB, free: 1.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.15e-05/0.8273, allocations: 0 / 1.174 GB, free: 1.898 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003773/0.8311, allocations: 1.503 MB / 1.175 GB, free: 344 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.8312, allocations: 8.031 kB / 1.175 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.8323, allocations: 191.3 kB / 1.175 GB, free: 144 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.8337, allocations: 0.7624 MB / 1.176 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/0.8338, allocations: 77.92 kB / 1.176 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.8339, allocations: 84 kB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.8358, allocations: 0.973 MB / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.8358, allocations: 3.938 kB / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.746e-05/0.836, allocations: 36 kB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.836, allocations: 24 kB / 1.177 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.838, allocations: 1.159 MB / 1.178 GB, free: 12.94 MB / 0.9356 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.005247/0.8433, allocations: 2.907 MB / 1.181 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.8455, allocations: 0.9849 MB / 1.182 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/0.8462, allocations: 330.7 kB / 1.183 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.662e-05/0.8463, allocations: 36.59 kB / 1.183 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.8473, allocations: 0.5257 MB / 1.183 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 3.276e-06/0.8473, allocations: 0 / 1.183 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003472/0.8508, allocations: 1.306 MB / 1.184 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.8509, allocations: 188.9 kB / 1.185 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.852, allocations: 0.6566 MB / 1.185 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.98e-05/0.8521, allocations: 41.7 kB / 1.185 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.8525, allocations: 404.4 kB / 1.186 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.8528, allocations: 287.9 kB / 1.186 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/0.8531, allocations: 178.5 kB / 1.186 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.8533, allocations: 394.7 kB / 1.186 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.8539, allocations: 285.8 kB / 1.187 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.8546, allocations: 395 kB / 1.187 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.8559, allocations: 0.6516 MB / 1.188 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.8559, allocations: 0 / 1.188 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002264/0.8581, allocations: 0.915 MB / 1.189 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.8582, allocations: 4 kB / 1.189 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8582, allocations: 8.031 kB / 1.189 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.8588, allocations: 80.77 kB / 1.189 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.8596, allocations: 183.8 kB / 1.189 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.8618, allocations: 1.527 MB / 1.19 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/0.8627, allocations: 103.4 kB / 1.191 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.8628, allocations: 35.97 kB / 1.191 GB, free: 132 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0006228/0.8634, allocations: 280.4 kB / 1.191 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.8637, allocations: 90.88 kB / 1.191 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/0.8666, allocations: 1.199 MB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.8666, allocations: 15.92 kB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.8666, allocations: 0 / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.8666, allocations: 7.984 kB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.8706, allocations: 2.098 MB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.8706, allocations: 0 / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.8713, allocations: 167.8 kB / 1.194 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005352/0.8719, allocations: 88.7 kB / 1.194 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.595e-05/0.872, allocations: 31.98 kB / 1.194 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.8739, allocations: 1.54 MB / 1.196 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.874, allocations: 0 / 1.196 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.8764, allocations: 1.09 MB / 1.197 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/0.877, allocations: 287.6 kB / 1.197 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.8773, allocations: 24 kB / 1.197 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008192/0.8781, allocations: 71.83 kB / 1.197 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.8783, allocations: 80.88 kB / 1.197 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.8784, allocations: 43.97 kB / 1.197 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007191/0.8791, allocations: 467 kB / 1.198 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8792, allocations: 4 kB / 1.198 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001176/0.8803, allocations: 351.2 kB / 1.198 GB, free: 7.969 MB / 0.9512 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 (106): * Single equations (assignments): 99 * 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.001621/0.882, allocations: 0.6384 MB / 1.199 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.8842, allocations: 0.9015 MB / 1.2 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.8842, allocations: 0 / 1.2 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.8854, allocations: 0.5549 MB / 1.2 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.8871, allocations: 283.4 kB / 1.201 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.8912, allocations: 2.233 MB / 1.203 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.892, allocations: 1.052 MB / 1.204 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.8925, allocations: 127.4 kB / 1.204 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of SimCode: time 1.042e-06/0.8926, allocations: 0 / 1.204 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of Templates: time 0.03041/0.923, allocations: 19.51 MB / 1.223 GB, free: 14.83 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches