Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 181.3 kB / 16.92 MB, free: 6.918 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7109, allocations: 142.4 MB / 0.9557 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004791/0.7158, allocations: 4.036 MB / 0.9596 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.8792, allocations: 146.7 MB / 1.103 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.8802, allocations: 15.94 kB / 1.103 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.881, allocations: 142.9 kB / 1.103 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.8832, allocations: 445.4 kB / 1.103 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.8855, allocations: 0.7347 MB / 1.104 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.8873, allocations: 1.253 MB / 1.105 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.8883, allocations: 0.5999 MB / 1.106 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007025/0.889, allocations: 358.2 kB / 1.106 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007388/0.8898, allocations: 393.8 kB / 1.107 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.89, allocations: 28 kB / 1.107 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.8911, allocations: 375.6 kB / 1.107 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.8914, allocations: 187.1 kB / 1.107 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006221/0.892, allocations: 478.7 kB / 1.108 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.8936, allocations: 1.173 MB / 1.109 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8936, allocations: 4 kB / 1.109 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8936, allocations: 0 / 1.109 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.596e-05/0.8937, allocations: 0 / 1.109 GB, free: 2.055 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002954/0.8966, allocations: 1.238 MB / 1.11 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.8967, allocations: 8.031 kB / 1.11 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.8978, allocations: 199.4 kB / 1.11 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.8992, allocations: 0.7586 MB / 1.111 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/0.8993, allocations: 62 kB / 1.111 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.8994, allocations: 84 kB / 1.111 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.9013, allocations: 0.9573 MB / 1.112 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.9013, allocations: 0 / 1.112 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.9015, allocations: 36 kB / 1.112 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.9015, allocations: 27.94 kB / 1.112 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.9034, allocations: 1.132 MB / 1.113 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004564/0.908, allocations: 2.587 MB / 1.116 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.9096, allocations: 0.915 MB / 1.117 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/0.9102, allocations: 322.7 kB / 1.117 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.798e-05/0.9103, allocations: 28.69 kB / 1.117 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000974/0.9113, allocations: 0.5198 MB / 1.118 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 4.318e-06/0.9113, allocations: 0 / 1.118 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.003395/0.9147, allocations: 1.27 MB / 1.119 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.953e-05/0.9149, allocations: 196.9 kB / 1.119 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009883/0.9159, allocations: 0.6448 MB / 1.12 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.413e-05/0.916, allocations: 41.7 kB / 1.12 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.9163, allocations: 400.5 kB / 1.12 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.9165, allocations: 276 kB / 1.12 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.9167, allocations: 73.67 kB / 1.12 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.9168, allocations: 386.8 kB / 1.121 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.9174, allocations: 285.8 kB / 1.121 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/0.9181, allocations: 384 kB / 1.121 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.9192, allocations: 0.6446 MB / 1.122 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.9193, allocations: 0 / 1.122 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002079/0.9213, allocations: 0.8994 MB / 1.123 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.9214, allocations: 11.88 kB / 1.123 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.9214, allocations: 3.984 kB / 1.123 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.922, allocations: 88.84 kB / 1.123 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.9227, allocations: 167.8 kB / 1.123 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.9249, allocations: 1.52 MB / 1.125 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/0.9258, allocations: 124.7 kB / 1.125 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.9259, allocations: 39.97 kB / 1.125 GB, free: 1.238 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (101): * Single equations (assignments): 100 * 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.0005429/0.9265, allocations: 272.7 kB / 1.125 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.9267, allocations: 86.95 kB / 1.125 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.9293, allocations: 1.144 MB / 1.126 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.9293, allocations: 12 kB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9293, allocations: 0 / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.9293, allocations: 7.922 kB / 1.126 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/0.9329, allocations: 2.036 MB / 1.128 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9329, allocations: 0 / 1.128 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.9335, allocations: 163.8 kB / 1.128 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005347/0.9341, allocations: 88.7 kB / 1.128 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.9341, allocations: 27.97 kB / 1.128 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.936, allocations: 1.544 MB / 1.13 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.936, allocations: 4.031 kB / 1.13 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.9381, allocations: 1.058 MB / 1.131 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/0.9386, allocations: 295.6 kB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.9387, allocations: 19.94 kB / 1.131 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00074/0.9395, allocations: 89.89 kB / 1.131 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.9396, allocations: 72.89 kB / 1.131 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/0.9397, allocations: 43.91 kB / 1.132 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006003/0.9403, allocations: 467 kB / 1.132 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9403, allocations: 0 / 1.132 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009151/0.9413, allocations: 331.1 kB / 1.132 GB, free: 9.258 MB / 0.8887 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 (100): * Single equations (assignments): 93 * 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.001494/0.9428, allocations: 0.6032 MB / 1.133 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.9446, allocations: 0.8744 MB / 1.134 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9447, allocations: 0 / 1.134 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009706/0.9456, allocations: 0.5471 MB / 1.134 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.947, allocations: 259.3 kB / 1.135 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.9516, allocations: 2.355 MB / 1.137 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/0.9522, allocations: 1.036 MB / 1.138 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.9526, allocations: 119.4 kB / 1.138 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of SimCode: time 5.51e-07/0.9526, allocations: 0 / 1.138 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of Templates: time 0.02728/0.9799, allocations: 18.71 MB / 1.156 GB, free: 0.9102 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches