Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009376/0.0009373, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009279/0.00928, allocations: 170 kB / 16.26 MB, free: 6.613 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 462.7 MB / 0.7364 GB, free: 228 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 8.656 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2903, allocations: 159.6 MB / 1.059 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005289/0.2956, allocations: 4.405 MB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1727/0.4683, allocations: 146.7 MB / 1.206 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/0.4689, allocations: 15.94 kB / 1.206 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.4694, allocations: 154.8 kB / 1.206 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.4707, allocations: 464.7 kB / 1.207 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.4723, allocations: 0.7256 MB / 1.208 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.4735, allocations: 1.28 MB / 1.209 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007684/0.4743, allocations: 0.5632 MB / 1.209 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004318/0.4747, allocations: 350.3 kB / 1.21 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.4751, allocations: 381.9 kB / 1.21 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.4752, allocations: 24 kB / 1.21 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006923/0.4759, allocations: 367.6 kB / 1.21 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.4761, allocations: 187.1 kB / 1.211 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.4765, allocations: 474.8 kB / 1.211 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.4779, allocations: 1.499 MB / 1.213 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4779, allocations: 4 kB / 1.213 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4779, allocations: 0 / 1.213 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.4779, allocations: 0 / 1.213 GB, free: 7.254 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002075/0.48, allocations: 1.208 MB / 1.214 GB, free: 6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.48, allocations: 8.031 kB / 1.214 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008747/0.4809, allocations: 195.4 kB / 1.214 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009567/0.4819, allocations: 0.7422 MB / 1.215 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.4819, allocations: 66 kB / 1.215 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.4821, allocations: 80 kB / 1.215 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.4836, allocations: 0.9184 MB / 1.216 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.4836, allocations: 7.938 kB / 1.216 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.4837, allocations: 36 kB / 1.216 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.4837, allocations: 20 kB / 1.216 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.4854, allocations: 1.116 MB / 1.217 GB, free: 2.738 MB / 0.9669 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.004091/0.4895, allocations: 2.768 MB / 1.22 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.4911, allocations: 0.9037 MB / 1.22 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005344/0.4916, allocations: 306.7 kB / 1.221 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.102e-05/0.4917, allocations: 36.52 kB / 1.221 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008945/0.4926, allocations: 495.2 kB / 1.221 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 3.005e-06/0.4926, allocations: 3.938 kB / 1.221 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003093/0.4957, allocations: 1.205 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.4958, allocations: 192.5 kB / 1.223 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/0.4966, allocations: 0.6253 MB / 1.223 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.4966, allocations: 41.7 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.4969, allocations: 396.3 kB / 1.224 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.4971, allocations: 256.4 kB / 1.224 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.4972, allocations: 65.69 kB / 1.224 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4974, allocations: 390.7 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.4979, allocations: 269.8 kB / 1.225 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.4985, allocations: 375 kB / 1.225 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.4997, allocations: 0.6112 MB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4997, allocations: 0 / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001838/0.5015, allocations: 0.8527 MB / 1.226 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5015, allocations: 4 kB / 1.226 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5015, allocations: 0 / 1.226 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.5021, allocations: 92.8 kB / 1.226 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.5028, allocations: 167.7 kB / 1.227 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.5047, allocations: 1.533 MB / 1.228 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007187/0.5055, allocations: 106.2 kB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.5055, allocations: 31.98 kB / 1.228 GB, free: 6.625 MB / 0.9825 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.0004138/0.506, allocations: 275.4 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.5061, allocations: 86.91 kB / 1.229 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.5083, allocations: 1.066 MB / 1.23 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5084, allocations: 8 kB / 1.23 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5084, allocations: 0 / 1.23 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.5084, allocations: 7.922 kB / 1.23 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.5114, allocations: 1.966 MB / 1.232 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5114, allocations: 0 / 1.232 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/0.5119, allocations: 147.8 kB / 1.232 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/0.5125, allocations: 84.77 kB / 1.232 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.5125, allocations: 27.92 kB / 1.232 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.5142, allocations: 1.567 MB / 1.233 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5143, allocations: 0 / 1.233 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.5161, allocations: 0.996 MB / 1.234 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.5165, allocations: 288.4 kB / 1.235 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5166, allocations: 20.06 kB / 1.235 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.5173, allocations: 91.8 kB / 1.235 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.5174, allocations: 64.91 kB / 1.235 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/0.5175, allocations: 39.97 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005221/0.518, allocations: 455 kB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.518, allocations: 0 / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008404/0.5189, allocations: 319.2 kB / 1.235 GB, free: 14.89 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: 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.001269/0.5202, allocations: 0.5968 MB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.5218, allocations: 0.839 MB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5218, allocations: 0 / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000881/0.5227, allocations: 0.5277 MB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.5239, allocations: 276.6 kB / 1.238 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.5268, allocations: 2.066 MB / 1.24 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.5273, allocations: 1.016 MB / 1.241 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000763/0.5281, allocations: 258.6 kB / 1.241 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.5284, allocations: 111.3 kB / 1.241 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.5284, allocations: 0 / 1.241 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of Templates: time 0.4978/1.026, allocations: 14.42 MB / 1.255 GB, free: 187.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches