Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_10_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_10_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.0008277/0.0008278, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001181/0.001181, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437.8 MB / 0.7117 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004482, allocations: 8 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/0.5821, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005019/0.5871, allocations: 4.145 MB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1445/0.7317, allocations: 136.8 MB / 1.16 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000627/0.7323, allocations: 15.94 kB / 1.16 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.7328, allocations: 142.8 kB / 1.16 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.7341, allocations: 465.4 kB / 1.161 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.7357, allocations: 0.613 MB / 1.161 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.7369, allocations: 1.179 MB / 1.162 GB, free: 300 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006548/0.7375, allocations: 447.4 kB / 1.163 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000481/0.738, allocations: 334.6 kB / 1.163 GB, free: 15.52 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.7385, allocations: 359.7 kB / 1.163 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/0.7385, allocations: 28 kB / 1.163 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006779/0.7392, allocations: 339.6 kB / 1.164 GB, free: 14.8 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.7394, allocations: 179.2 kB / 1.164 GB, free: 14.63 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.7396, allocations: 193.1 kB / 1.164 GB, free: 14.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.7407, allocations: 1.157 MB / 1.165 GB, free: 13.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.7407, allocations: 3.938 kB / 1.165 GB, free: 13.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7407, allocations: 0 / 1.165 GB, free: 13.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.7407, allocations: 4 kB / 1.165 GB, free: 13.27 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001994/0.7427, allocations: 1.216 MB / 1.166 GB, free: 12 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.7427, allocations: 12.5 kB / 1.167 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008208/0.7436, allocations: 186.6 kB / 1.167 GB, free: 11.8 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009565/0.7445, allocations: 0.7069 MB / 1.167 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.7446, allocations: 62 kB / 1.167 GB, free: 10.99 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.7447, allocations: 76 kB / 1.168 GB, free: 10.92 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.7462, allocations: 0.9104 MB / 1.168 GB, free: 9.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.7462, allocations: 4 kB / 1.168 GB, free: 9.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.997e-05/0.7463, allocations: 35.94 kB / 1.168 GB, free: 9.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.7463, allocations: 20 kB / 1.168 GB, free: 9.906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.748, allocations: 1.1 MB / 1.17 GB, free: 8.809 MB / 0.92 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.003811/0.7518, allocations: 2.708 MB / 1.172 GB, free: 5.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.7533, allocations: 0.8678 MB / 1.173 GB, free: 5.09 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.7539, allocations: 302.7 kB / 1.173 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.449e-05/0.7539, allocations: 28.61 kB / 1.173 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008567/0.7548, allocations: 499 kB / 1.174 GB, free: 4.262 MB / 0.92 GB Notification: Performance of pre-optimization done (n=79): time 2.625e-06/0.7548, allocations: 0 / 1.174 GB, free: 4.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=79): time 0.002888/0.7577, allocations: 1.195 MB / 1.175 GB, free: 3.039 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.7578, allocations: 200.5 kB / 1.175 GB, free: 2.801 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007154/0.7585, allocations: 0.6135 MB / 1.176 GB, free: 2.18 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.41e-05/0.7586, allocations: 41.7 kB / 1.176 GB, free: 2.133 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.7589, allocations: 388.5 kB / 1.176 GB, free: 1.746 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.7591, allocations: 256.3 kB / 1.176 GB, free: 1.492 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.7592, allocations: 16 kB / 1.176 GB, free: 1.477 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7593, allocations: 382.8 kB / 1.177 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.7599, allocations: 273.8 kB / 1.177 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.7604, allocations: 359 kB / 1.177 GB, free: 468 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.761, allocations: 302.9 kB / 1.178 GB, free: 168 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.761, allocations: 0 / 1.178 GB, free: 168 kB / 0.92 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001742/0.7627, allocations: 0.8449 MB / 1.179 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7628, allocations: 8.094 kB / 1.179 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.7628, allocations: 7.953 kB / 1.179 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.7633, allocations: 80.77 kB / 1.179 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.764, allocations: 163.8 kB / 1.179 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.7658, allocations: 1.54 MB / 1.18 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.7665, allocations: 91.39 kB / 1.18 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.7666, allocations: 35.97 kB / 1.18 GB, free: 13.25 MB / 0.9356 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003737/0.767, allocations: 272.9 kB / 1.181 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.7671, allocations: 79.06 kB / 1.181 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.7693, allocations: 1.069 MB / 1.182 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.7693, allocations: 8 kB / 1.182 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.7693, allocations: 4 kB / 1.182 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.7694, allocations: 3.984 kB / 1.182 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.7723, allocations: 1.907 MB / 1.184 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.7723, allocations: 4 kB / 1.184 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.7728, allocations: 143.8 kB / 1.184 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.7733, allocations: 84.77 kB / 1.184 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.7734, allocations: 27.94 kB / 1.184 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.775, allocations: 1.54 MB / 1.185 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.775, allocations: 3.938 kB / 1.185 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.7768, allocations: 0.9844 MB / 1.186 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.7771, allocations: 283.6 kB / 1.187 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.7773, allocations: 20 kB / 1.187 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.7779, allocations: 81.47 kB / 1.187 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.778, allocations: 76.83 kB / 1.187 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.7781, allocations: 39.97 kB / 1.187 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005066/0.7786, allocations: 443 kB / 1.187 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7786, allocations: 3.938 kB / 1.187 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008109/0.7795, allocations: 315.3 kB / 1.188 GB, free: 5.633 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.7807, allocations: 0.5999 MB / 1.188 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.7823, allocations: 0.8233 MB / 1.189 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7823, allocations: 0 / 1.189 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008517/0.7831, allocations: 0.5122 MB / 1.189 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.7843, allocations: 259.7 kB / 1.19 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.7871, allocations: 1.995 MB / 1.192 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.7876, allocations: 1.016 MB / 1.193 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008017/0.7884, allocations: 266.5 kB / 1.193 GB, free: 284 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.7887, allocations: 107.4 kB / 1.193 GB, free: 176 kB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.7887, allocations: 0 / 1.193 GB, free: 176 kB / 0.9356 GB Notification: Performance of Templates: time 0.02297/0.8117, allocations: 13.81 MB / 1.206 GB, free: 2.543 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches