Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001718/0.001718, allocations: 193.2 kB / 16.91 MB, free: 5.746 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.447/1.447, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.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.732/2.732, allocations: 437.1 MB / 0.7107 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 60.08 kB / 0.8694 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6624/0.6644, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007128/0.6715, allocations: 4.798 MB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1822/0.8538, allocations: 148.4 MB / 1.167 GB, free: 9.012 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.8549, allocations: 19.88 kB / 1.167 GB, free: 8.992 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006566/0.8555, allocations: 150.9 kB / 1.167 GB, free: 8.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.8574, allocations: 490.9 kB / 1.168 GB, free: 8.363 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.8595, allocations: 0.7339 MB / 1.168 GB, free: 7.637 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.8612, allocations: 1.37 MB / 1.17 GB, free: 6.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009485/0.8622, allocations: 0.5753 MB / 1.17 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008202/0.863, allocations: 486.3 kB / 1.171 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.8637, allocations: 497.9 kB / 1.171 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.8639, allocations: 116 kB / 1.171 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009935/0.8649, allocations: 459.6 kB / 1.172 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.8652, allocations: 291 kB / 1.172 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.8658, allocations: 0.5519 MB / 1.173 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.8675, allocations: 1.201 MB / 1.174 GB, free: 2.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8675, allocations: 0 / 1.174 GB, free: 2.098 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8675, allocations: 0 / 1.174 GB, free: 2.098 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.8675, allocations: 0 / 1.174 GB, free: 2.098 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00295/0.8705, allocations: 1.411 MB / 1.175 GB, free: 0.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.8706, allocations: 12.03 kB / 1.175 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009873/0.8716, allocations: 183.4 kB / 1.175 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.8727, allocations: 0.7344 MB / 1.176 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/0.8728, allocations: 62 kB / 1.176 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.873, allocations: 84 kB / 1.176 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.8746, allocations: 0.8989 MB / 1.177 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.8746, allocations: 0 / 1.177 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.66e-05/0.8747, allocations: 36 kB / 1.177 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.8748, allocations: 20 kB / 1.177 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.8766, allocations: 1.097 MB / 1.178 GB, free: 13.42 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.004384/0.881, allocations: 2.669 MB / 1.181 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.8826, allocations: 0.8652 MB / 1.182 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/0.8832, allocations: 302.7 kB / 1.182 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.939e-05/0.8833, allocations: 36.58 kB / 1.182 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009817/0.8842, allocations: 499 kB / 1.182 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.445e-06/0.8843, allocations: 0 / 1.182 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.003316/0.8876, allocations: 1.178 MB / 1.184 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.8877, allocations: 192.6 kB / 1.184 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000879/0.8886, allocations: 0.6214 MB / 1.184 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.8887, allocations: 41.7 kB / 1.184 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.8891, allocations: 388.4 kB / 1.185 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.8894, allocations: 256.3 kB / 1.185 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.8896, allocations: 166.5 kB / 1.185 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.8899, allocations: 394.6 kB / 1.186 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/0.8904, allocations: 261.9 kB / 1.186 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.8911, allocations: 355.1 kB / 1.186 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.8923, allocations: 0.5955 MB / 1.187 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8923, allocations: 0 / 1.187 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0021/0.8944, allocations: 0.8448 MB / 1.188 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.8944, allocations: 4 kB / 1.188 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.8944, allocations: 4.094 kB / 1.188 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/0.8951, allocations: 84.77 kB / 1.188 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.8957, allocations: 155.8 kB / 1.188 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.8981, allocations: 1.646 MB / 1.189 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.899, allocations: 91.5 kB / 1.19 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/0.8991, allocations: 35.98 kB / 1.19 GB, free: 1.352 MB / 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: 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.0005719/0.8996, allocations: 275.9 kB / 1.19 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.8999, allocations: 79.06 kB / 1.19 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.9023, allocations: 1.05 MB / 1.191 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.9024, allocations: 8 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.9024, allocations: 0 / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.9024, allocations: 11.91 kB / 1.191 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.9058, allocations: 1.903 MB / 1.193 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9058, allocations: 0 / 1.193 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.9064, allocations: 143.8 kB / 1.193 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.9068, allocations: 72.78 kB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.9069, allocations: 23.98 kB / 1.193 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.909, allocations: 1.662 MB / 1.195 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.909, allocations: 0 / 1.195 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.9111, allocations: 0.9843 MB / 1.196 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.9116, allocations: 275.7 kB / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.9117, allocations: 19.98 kB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/0.9124, allocations: 61.19 kB / 1.196 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.9126, allocations: 68.91 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.9127, allocations: 35.97 kB / 1.196 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006232/0.9133, allocations: 455 kB / 1.196 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9133, allocations: 0 / 1.196 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00098/0.9143, allocations: 315.3 kB / 1.197 GB, free: 9.676 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: 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.001985/0.9163, allocations: 0.6162 MB / 1.197 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002475/0.9188, allocations: 1.019 MB / 1.198 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9188, allocations: 0 / 1.198 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009627/0.9198, allocations: 0.5119 MB / 1.199 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.9212, allocations: 301.1 kB / 1.199 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.9247, allocations: 2.064 MB / 1.201 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/0.9254, allocations: 1.015 MB / 1.202 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.9258, allocations: 115.4 kB / 1.202 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of SimCode: time 6.71e-07/0.9258, allocations: 0 / 1.202 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of Templates: time 0.02761/0.9534, allocations: 18.21 MB / 1.22 GB, free: 1.996 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches