Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001597/0.001597, allocations: 108.2 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.00172/0.00172, allocations: 195.9 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.467/1.467, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.976/2.976, allocations: 469.8 MB / 0.7427 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 69.77 kB / 0.9087 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3659, allocations: 159.2 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007793/0.3737, allocations: 5.003 MB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1889/0.5626, allocations: 148.5 MB / 1.214 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.5638, allocations: 15.94 kB / 1.214 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006626/0.5645, allocations: 158.8 kB / 1.214 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.5664, allocations: 0.4943 MB / 1.215 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.5686, allocations: 0.7953 MB / 1.215 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.5704, allocations: 1.46 MB / 1.217 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009836/0.5714, allocations: 0.5984 MB / 1.217 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007969/0.5722, allocations: 0.5139 MB / 1.218 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.5729, allocations: 0.5446 MB / 1.219 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.573, allocations: 123.9 kB / 1.219 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.5741, allocations: 487.6 kB / 1.219 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.5744, allocations: 311 kB / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006157/0.575, allocations: 0.5985 MB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.5768, allocations: 1.275 MB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5769, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5769, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.5769, allocations: 4 kB / 1.221 GB, free: 13.12 MB / 0.9825 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.002997/0.5799, allocations: 1.495 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5799, allocations: 8.031 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009801/0.5809, allocations: 199.3 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.582, allocations: 0.7662 MB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.5821, allocations: 66 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.5823, allocations: 88 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.5841, allocations: 0.9769 MB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.5841, allocations: 4 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.5842, allocations: 36 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.5843, allocations: 20 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.5862, allocations: 1.163 MB / 1.226 GB, free: 8.168 MB / 0.9825 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.00477/0.591, allocations: 2.915 MB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.5933, allocations: 0.9732 MB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/0.5939, allocations: 323.8 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.857e-05/0.594, allocations: 44.61 kB / 1.23 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.5951, allocations: 0.5335 MB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.385e-06/0.5951, allocations: 0 / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.00363/0.5987, allocations: 1.294 MB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.5989, allocations: 200.9 kB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.6, allocations: 0.6451 MB / 1.233 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.6001, allocations: 49.7 kB / 1.233 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.6005, allocations: 412.4 kB / 1.233 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.6008, allocations: 283.9 kB / 1.233 GB, free: 280 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/0.6012, allocations: 178.5 kB / 1.234 GB, free: 96 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002404/0.6014, allocations: 382.8 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.602, allocations: 297.8 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/0.6028, allocations: 391.2 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.6041, allocations: 0.6554 MB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6041, allocations: 4 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002338/0.6065, allocations: 0.9151 MB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.6065, allocations: 9.562 kB / 1.236 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.6065, allocations: 0 / 1.236 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/0.6072, allocations: 88.7 kB / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.6079, allocations: 175.8 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.6105, allocations: 1.638 MB / 1.238 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/0.6114, allocations: 103.3 kB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.6115, allocations: 47.95 kB / 1.238 GB, free: 11.22 MB / 0.9981 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.0005834/0.6121, allocations: 267.9 kB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.6123, allocations: 82.97 kB / 1.238 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.6152, allocations: 1.199 MB / 1.24 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.6152, allocations: 12 kB / 1.24 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6152, allocations: 0 / 1.24 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.6152, allocations: 11.97 kB / 1.24 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/0.619, allocations: 2.086 MB / 1.242 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.619, allocations: 3.938 kB / 1.242 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/0.6197, allocations: 167.7 kB / 1.242 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.6202, allocations: 76.78 kB / 1.242 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/0.6202, allocations: 31.97 kB / 1.242 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/0.6226, allocations: 1.663 MB / 1.244 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6226, allocations: 0 / 1.244 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.6251, allocations: 1.09 MB / 1.245 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005748/0.6257, allocations: 295.8 kB / 1.245 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.6258, allocations: 16 kB / 1.245 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007459/0.6266, allocations: 81.53 kB / 1.245 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.6268, allocations: 84.81 kB / 1.245 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.564e-05/0.6269, allocations: 39.98 kB / 1.245 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007021/0.6276, allocations: 475 kB / 1.246 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6276, allocations: 0 / 1.246 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001145/0.6287, allocations: 351.2 kB / 1.246 GB, free: 2.965 MB / 0.9981 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.002038/0.6308, allocations: 0.6167 MB / 1.247 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003058/0.6339, allocations: 1.132 MB / 1.248 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.6339, allocations: 0 / 1.248 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.6349, allocations: 0.5629 MB / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.6364, allocations: 310.2 kB / 1.248 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5737/1.21, allocations: 2.239 MB / 1.251 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/1.211, allocations: 1.046 MB / 1.252 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/1.211, allocations: 130.5 kB / 1.252 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.814e-06/1.211, allocations: 0 / 1.252 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03499/1.246, allocations: 19.53 MB / 1.271 GB, free: 180.4 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches