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.001477/0.001477, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00183/0.00183, allocations: 194.5 kB / 16.26 MB, free: 6.625 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.627/2.627, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6008, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006757/0.6076, allocations: 5.017 MB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1546/0.7622, allocations: 148.5 MB / 1.167 GB, free: 8.641 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009071/0.7632, allocations: 19.88 kB / 1.167 GB, free: 8.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007592/0.764, allocations: 158.8 kB / 1.167 GB, free: 8.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.7659, allocations: 0.4934 MB / 1.167 GB, free: 7.973 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.7681, allocations: 0.7943 MB / 1.168 GB, free: 7.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001806/0.7699, allocations: 1.467 MB / 1.17 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.7709, allocations: 0.6062 MB / 1.17 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000818/0.7717, allocations: 0.5138 MB / 1.171 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008345/0.7726, allocations: 0.5406 MB / 1.171 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.7729, allocations: 124 kB / 1.171 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009766/0.7738, allocations: 491.6 kB / 1.172 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.7742, allocations: 311 kB / 1.172 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006392/0.7748, allocations: 0.5908 MB / 1.173 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.7767, allocations: 1.679 MB / 1.174 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7768, allocations: 0 / 1.174 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.136e-06/0.7768, allocations: 4 kB / 1.174 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.052e-05/0.7768, allocations: 3.938 kB / 1.174 GB, free: 0.8398 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.00313/0.78, allocations: 1.495 MB / 1.176 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.78, allocations: 12.03 kB / 1.176 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009444/0.781, allocations: 191.3 kB / 1.176 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009974/0.782, allocations: 0.7623 MB / 1.177 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.7821, allocations: 66 kB / 1.177 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.7822, allocations: 95.98 kB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.7839, allocations: 0.973 MB / 1.178 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.7839, allocations: 0 / 1.178 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.961e-05/0.784, allocations: 36 kB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.7841, allocations: 24 kB / 1.178 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.786, allocations: 1.155 MB / 1.179 GB, free: 11.89 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.00453/0.7905, allocations: 2.911 MB / 1.182 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.7926, allocations: 0.9818 MB / 1.183 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.7932, allocations: 322.7 kB / 1.183 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-05/0.7933, allocations: 36.67 kB / 1.183 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.7944, allocations: 0.5374 MB / 1.184 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 2.595e-06/0.7944, allocations: 3.938 kB / 1.184 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003447/0.7978, allocations: 1.294 MB / 1.185 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.7979, allocations: 196.9 kB / 1.185 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.7988, allocations: 0.6527 MB / 1.186 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/0.7989, allocations: 49.64 kB / 1.186 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.7992, allocations: 400.5 kB / 1.186 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.7994, allocations: 287.8 kB / 1.186 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.7997, allocations: 178.5 kB / 1.187 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7999, allocations: 394.8 kB / 1.187 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/0.8004, allocations: 289.8 kB / 1.187 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.8011, allocations: 387.2 kB / 1.188 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.8023, allocations: 0.6554 MB / 1.188 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8023, allocations: 0 / 1.188 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002112/0.8044, allocations: 0.9151 MB / 1.189 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.8045, allocations: 11.94 kB / 1.189 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.8045, allocations: 3.938 kB / 1.189 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.8051, allocations: 84.83 kB / 1.189 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/0.8059, allocations: 175.8 kB / 1.189 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.808, allocations: 1.642 MB / 1.191 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008708/0.8089, allocations: 99.3 kB / 1.191 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/0.809, allocations: 43.97 kB / 1.191 GB, free: 14.95 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.0004212/0.8094, allocations: 272.5 kB / 1.191 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.8096, allocations: 86.88 kB / 1.192 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.8123, allocations: 1.199 MB / 1.193 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.8123, allocations: 12 kB / 1.193 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.8123, allocations: 0 / 1.193 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.8124, allocations: 11.97 kB / 1.193 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.8158, allocations: 2.094 MB / 1.195 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.8159, allocations: 3.984 kB / 1.195 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.8165, allocations: 167.7 kB / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/0.817, allocations: 80.72 kB / 1.195 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/0.8171, allocations: 27.97 kB / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.819, allocations: 1.651 MB / 1.197 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.819, allocations: 0 / 1.197 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.8211, allocations: 1.093 MB / 1.198 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.8215, allocations: 287.6 kB / 1.198 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.8216, allocations: 20 kB / 1.198 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007534/0.8224, allocations: 82.16 kB / 1.198 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.8226, allocations: 84.8 kB / 1.198 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/0.8227, allocations: 39.98 kB / 1.198 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005588/0.8233, allocations: 475 kB / 1.199 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8233, allocations: 0 / 1.199 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009131/0.8242, allocations: 351.2 kB / 1.199 GB, free: 6.684 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.00143/0.8256, allocations: 0.6212 MB / 1.2 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002705/0.8283, allocations: 1.132 MB / 1.201 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8284, allocations: 4.188 kB / 1.201 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009758/0.8293, allocations: 0.5666 MB / 1.201 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.8307, allocations: 315.8 kB / 1.202 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.8338, allocations: 2.194 MB / 1.204 GB, free: 2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.8344, allocations: 1.04 MB / 1.205 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008728/0.8352, allocations: 283.1 kB / 1.205 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.8355, allocations: 119.3 kB / 1.205 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.8355, allocations: 0 / 1.205 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of Templates: time 0.0262/0.8617, allocations: 15.99 MB / 1.221 GB, free: 0.7188 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=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/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