Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_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_latest_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.0016/0.001601, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001953/0.001953, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 61.64 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.381, allocations: 157.4 MB / 1.052 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00667/0.3877, allocations: 4.802 MB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1843/0.572, allocations: 148.4 MB / 1.202 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.5736, allocations: 15.94 kB / 1.202 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.5749, allocations: 146.9 kB / 1.202 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003822/0.5789, allocations: 487.5 kB / 1.202 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.5823, allocations: 0.7406 MB / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.5854, allocations: 1.355 MB / 1.205 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.5871, allocations: 0.5792 MB / 1.205 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.5884, allocations: 474.3 kB / 1.206 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.5895, allocations: 0.4939 MB / 1.206 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000444/0.59, allocations: 112 kB / 1.206 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.5914, allocations: 451.7 kB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.5918, allocations: 295 kB / 1.207 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006983/0.5925, allocations: 0.5519 MB / 1.207 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.5949, allocations: 1.57 MB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.5949, allocations: 0 / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.595, allocations: 0 / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.595, allocations: 0 / 1.209 GB, free: 7.742 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00298/0.598, allocations: 1.411 MB / 1.21 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.598, allocations: 12.62 kB / 1.21 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009977/0.599, allocations: 183.4 kB / 1.21 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.6002, allocations: 0.7305 MB / 1.211 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.6003, allocations: 62 kB / 1.211 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.6004, allocations: 83.98 kB / 1.211 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.602, allocations: 0.8989 MB / 1.212 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.6021, allocations: 0 / 1.212 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.801e-05/0.6022, allocations: 36 kB / 1.212 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.6022, allocations: 24 kB / 1.212 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.6039, allocations: 1.093 MB / 1.213 GB, free: 3.086 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.00426/0.6082, allocations: 2.685 MB / 1.216 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.6098, allocations: 0.8649 MB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.6103, allocations: 298.7 kB / 1.217 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.925e-05/0.6104, allocations: 36.59 kB / 1.217 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.6115, allocations: 0.4911 MB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 3.787e-06/0.6115, allocations: 0 / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003414/0.6149, allocations: 1.182 MB / 1.219 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.615, allocations: 188.6 kB / 1.219 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009284/0.616, allocations: 0.6253 MB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.501e-05/0.6161, allocations: 41.7 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.6164, allocations: 384.4 kB / 1.22 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.6166, allocations: 260.3 kB / 1.22 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.6169, allocations: 162.5 kB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.6171, allocations: 390.7 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005329/0.6176, allocations: 261.9 kB / 1.221 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.6183, allocations: 355.1 kB / 1.221 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.6194, allocations: 0.6033 MB / 1.222 GB, free: 10 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6194, allocations: 0 / 1.222 GB, free: 10 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001993/0.6214, allocations: 0.8409 MB / 1.223 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6214, allocations: 4 kB / 1.223 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6214, allocations: 0 / 1.223 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/0.6221, allocations: 80.88 kB / 1.223 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.6228, allocations: 159.8 kB / 1.223 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.6252, allocations: 1.647 MB / 1.225 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.626, allocations: 87.33 kB / 1.225 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.6261, allocations: 39.97 kB / 1.225 GB, free: 6.992 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.0005036/0.6266, allocations: 267.4 kB / 1.225 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.6268, allocations: 86.95 kB / 1.225 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.6293, allocations: 1.046 MB / 1.226 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6293, allocations: 8 kB / 1.226 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6294, allocations: 0 / 1.226 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.6294, allocations: 7.922 kB / 1.226 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.6327, allocations: 1.903 MB / 1.228 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6327, allocations: 0 / 1.228 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.6333, allocations: 143.8 kB / 1.228 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/0.6338, allocations: 76.78 kB / 1.228 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/0.6339, allocations: 27.92 kB / 1.228 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.636, allocations: 1.673 MB / 1.23 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.636, allocations: 0 / 1.23 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.6382, allocations: 0.9765 MB / 1.231 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.6386, allocations: 271.7 kB / 1.231 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.6388, allocations: 16 kB / 1.231 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.6395, allocations: 67.92 kB / 1.231 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.6397, allocations: 68.91 kB / 1.231 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.6398, allocations: 35.97 kB / 1.231 GB, free: 64 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006032/0.6404, allocations: 447 kB / 1.232 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.6404, allocations: 0 / 1.232 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009859/0.6414, allocations: 327.2 kB / 1.232 GB, free: 15.31 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.001439/0.6429, allocations: 0.5961 MB / 1.233 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002581/0.6454, allocations: 1.015 MB / 1.233 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.6455, allocations: 4 kB / 1.233 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009974/0.6465, allocations: 0.5081 MB / 1.234 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.648, allocations: 304.5 kB / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.6514, allocations: 2.033 MB / 1.236 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.652, allocations: 1.012 MB / 1.237 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009863/0.653, allocations: 262.5 kB / 1.238 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.6533, allocations: 107.4 kB / 1.238 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/0.6533, allocations: 0 / 1.238 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of Templates: time 0.6774/1.331, allocations: 14.83 MB / 1.252 GB, free: 190.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches