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.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.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.001676/0.001676, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001877/0.001877, allocations: 192 kB / 16.14 MB, free: 6.676 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.514/1.514, allocations: 222.9 MB / 239.8 MB, free: 4.383 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.824/2.824, allocations: 437 MB / 0.7099 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7424, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007546/0.75, allocations: 5.017 MB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1957/0.9457, allocations: 148.4 MB / 1.166 GB, free: 8.758 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.9468, allocations: 15.94 kB / 1.166 GB, free: 8.742 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.9475, allocations: 158.8 kB / 1.167 GB, free: 8.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.9494, allocations: 485.3 kB / 1.167 GB, free: 8.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.9516, allocations: 0.7624 MB / 1.168 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001639/0.9532, allocations: 1.378 MB / 1.169 GB, free: 5.973 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009421/0.9542, allocations: 0.5824 MB / 1.17 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.9549, allocations: 458.2 kB / 1.17 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.9555, allocations: 0.5054 MB / 1.171 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.9557, allocations: 60 kB / 1.171 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.9568, allocations: 419.7 kB / 1.171 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.9572, allocations: 258.9 kB / 1.171 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006369/0.9578, allocations: 0.5322 MB / 1.172 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.96, allocations: 1.616 MB / 1.173 GB, free: 1.535 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.96, allocations: 0 / 1.173 GB, free: 1.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.96, allocations: 7.938 kB / 1.173 GB, free: 1.527 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.9601, allocations: 0 / 1.173 GB, free: 1.527 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.003117/0.9632, allocations: 1.499 MB / 1.175 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9632, allocations: 12.03 kB / 1.175 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009914/0.9642, allocations: 187.3 kB / 1.175 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.9655, allocations: 0.7662 MB / 1.176 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.9655, allocations: 66 kB / 1.176 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.9657, allocations: 84 kB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.9676, allocations: 0.9808 MB / 1.177 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.9676, allocations: 0 / 1.177 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.9677, allocations: 43.98 kB / 1.177 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.9678, allocations: 23.94 kB / 1.177 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.9699, allocations: 1.159 MB / 1.178 GB, free: 12.57 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.005018/0.9749, allocations: 2.907 MB / 1.181 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.9772, allocations: 0.9826 MB / 1.182 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006281/0.9778, allocations: 322.7 kB / 1.182 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.383e-05/0.9779, allocations: 40.67 kB / 1.182 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.979, allocations: 0.537 MB / 1.183 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 2.685e-06/0.9791, allocations: 0 / 1.183 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003741/0.9828, allocations: 1.298 MB / 1.184 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.983, allocations: 188.9 kB / 1.184 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009492/0.9839, allocations: 0.6605 MB / 1.185 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.964e-05/0.984, allocations: 45.7 kB / 1.185 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.9844, allocations: 404.5 kB / 1.185 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.9847, allocations: 287.8 kB / 1.186 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003052/0.985, allocations: 174.5 kB / 1.186 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002196/0.9852, allocations: 390.7 kB / 1.186 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/0.9859, allocations: 289.8 kB / 1.186 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.9866, allocations: 395.1 kB / 1.187 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.9879, allocations: 0.6555 MB / 1.187 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.9879, allocations: 0 / 1.187 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002387/0.9903, allocations: 0.9189 MB / 1.188 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.9903, allocations: 7.984 kB / 1.188 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.9903, allocations: 4 kB / 1.188 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/0.991, allocations: 80.84 kB / 1.188 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/0.9918, allocations: 179.7 kB / 1.189 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.9943, allocations: 1.529 MB / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/0.9952, allocations: 95.31 kB / 1.19 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.9953, allocations: 47.95 kB / 1.19 GB, free: 15.75 MB / 0.9512 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.0005765/0.9959, allocations: 279.9 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.9961, allocations: 86.88 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.9989, allocations: 1.187 MB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.9989, allocations: 15.94 kB / 1.192 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.9989, allocations: 0 / 1.192 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.9989, allocations: 15.97 kB / 1.192 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/1.003, allocations: 2.101 MB / 1.194 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.003, allocations: 0 / 1.194 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/1.003, allocations: 163.8 kB / 1.194 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005459/1.004, allocations: 84.77 kB / 1.194 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/1.004, allocations: 31.98 kB / 1.194 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/1.006, allocations: 1.536 MB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.006, allocations: 32 / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/1.009, allocations: 1.097 MB / 1.197 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/1.009, allocations: 287.6 kB / 1.197 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.009, allocations: 24 kB / 1.197 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007508/1.01, allocations: 69.45 kB / 1.197 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/1.01, allocations: 84.89 kB / 1.197 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.506e-05/1.01, allocations: 39.97 kB / 1.197 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006876/1.011, allocations: 471 kB / 1.198 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.011, allocations: 0 / 1.198 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001081/1.012, allocations: 355.1 kB / 1.198 GB, free: 7.594 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.002105/1.014, allocations: 0.6154 MB / 1.199 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002066/1.016, allocations: 0.9053 MB / 1.199 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.016, allocations: 0 / 1.199 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.017, allocations: 0.5706 MB / 1.2 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/1.019, allocations: 285.8 kB / 1.2 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/1.023, allocations: 2.195 MB / 1.202 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/1.023, allocations: 1.052 MB / 1.203 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009677/1.024, allocations: 267.2 kB / 1.204 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/1.025, allocations: 123.3 kB / 1.204 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of SimCode: time 8.21e-07/1.025, allocations: 0 / 1.204 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of Templates: time 0.03029/1.055, allocations: 15.41 MB / 1.219 GB, free: 2.445 MB / 0.9669 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=400 -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/jenkins/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