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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001653/0.001653, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001606/0.001606, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437.1 MB / 0.711 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 64.69 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3339, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007127/0.3411, allocations: 4.805 MB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7172/1.058, allocations: 150.6 MB / 1.17 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008675/1.059, allocations: 18.88 kB / 1.17 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006508/1.06, allocations: 193.5 kB / 1.17 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/1.062, allocations: 0.5392 MB / 1.17 GB, free: 380 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/1.064, allocations: 0.8241 MB / 1.171 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001785/1.066, allocations: 1.354 MB / 1.173 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009034/1.067, allocations: 0.5721 MB / 1.173 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008352/1.068, allocations: 478.2 kB / 1.174 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/1.068, allocations: 0.4947 MB / 1.174 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001866/1.068, allocations: 117.3 kB / 1.174 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/1.069, allocations: 453.3 kB / 1.175 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/1.07, allocations: 289.9 kB / 1.175 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005721/1.07, allocations: 0.5481 MB / 1.175 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/1.072, allocations: 1.567 MB / 1.177 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.072, allocations: 0 / 1.177 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.074e-06/1.072, allocations: 3.938 kB / 1.177 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.877e-05/1.073, allocations: 0 / 1.177 GB, free: 12.78 MB / 0.8887 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.002846/1.075, allocations: 1.414 MB / 1.178 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.075, allocations: 11.05 kB / 1.178 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009421/1.076, allocations: 182 kB / 1.179 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/1.077, allocations: 0.7329 MB / 1.179 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/1.078, allocations: 63.03 kB / 1.179 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.078, allocations: 85.39 kB / 1.179 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/1.079, allocations: 0.9057 MB / 1.18 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/1.079, allocations: 5.188 kB / 1.18 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/1.079, allocations: 36.25 kB / 1.18 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/1.08, allocations: 21.47 kB / 1.18 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/1.081, allocations: 1.092 MB / 1.181 GB, free: 9.773 MB / 0.8887 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.004534/1.086, allocations: 2.671 MB / 1.184 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/1.087, allocations: 0.866 MB / 1.185 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/1.088, allocations: 302.1 kB / 1.185 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.297e-05/1.088, allocations: 36.72 kB / 1.185 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008602/1.089, allocations: 496 kB / 1.186 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=79): time 2.555e-06/1.089, allocations: 0 / 1.186 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=79): time 0.003481/1.092, allocations: 1.18 MB / 1.187 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.092, allocations: 190.6 kB / 1.187 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/1.094, allocations: 0.6261 MB / 1.188 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/1.094, allocations: 42.45 kB / 1.188 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/1.094, allocations: 387.1 kB / 1.188 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/1.094, allocations: 256.9 kB / 1.188 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/1.095, allocations: 161.4 kB / 1.188 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002479/1.095, allocations: 385.3 kB / 1.189 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/1.096, allocations: 262.3 kB / 1.189 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/1.096, allocations: 360.3 kB / 1.189 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/1.097, allocations: 0.6009 MB / 1.19 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.097, allocations: 0 / 1.19 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002088/1.099, allocations: 0.8397 MB / 1.191 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.1, allocations: 9.562 kB / 1.191 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.1, allocations: 0 / 1.191 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006193/1.1, allocations: 89.28 kB / 1.191 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/1.101, allocations: 157.4 kB / 1.191 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/1.103, allocations: 1.636 MB / 1.193 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008859/1.104, allocations: 87.88 kB / 1.193 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.793e-05/1.104, allocations: 38.97 kB / 1.193 GB, free: 1.496 MB / 0.8887 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.0005511/1.105, allocations: 274 kB / 1.193 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/1.105, allocations: 82.28 kB / 1.193 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/1.108, allocations: 1.054 MB / 1.194 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.108, allocations: 9.531 kB / 1.194 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.108, allocations: 3.938 kB / 1.194 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.108, allocations: 3.984 kB / 1.194 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/1.111, allocations: 1.908 MB / 1.196 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.111, allocations: 0 / 1.196 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/1.112, allocations: 142.5 kB / 1.196 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004551/1.113, allocations: 69.14 kB / 1.196 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/1.113, allocations: 30.03 kB / 1.196 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/1.115, allocations: 1.65 MB / 1.198 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.115, allocations: 3.938 kB / 1.198 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/1.117, allocations: 0.9835 MB / 1.199 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/1.117, allocations: 275.1 kB / 1.199 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/1.118, allocations: 16.72 kB / 1.199 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/1.118, allocations: 59.31 kB / 1.199 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/1.119, allocations: 74.05 kB / 1.199 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/1.119, allocations: 30.27 kB / 1.199 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006918/1.119, allocations: 459.1 kB / 1.2 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.119, allocations: 0 / 1.2 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001261/1.121, allocations: 317.2 kB / 1.2 GB, free: 12.43 MB / 0.9044 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.002063/1.123, allocations: 0.6024 MB / 1.201 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002721/1.125, allocations: 1.022 MB / 1.202 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.125, allocations: 0 / 1.202 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.126, allocations: 0.52 MB / 1.202 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/1.128, allocations: 304.1 kB / 1.202 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/1.132, allocations: 1.676 MB / 1.204 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/1.132, allocations: 1.02 MB / 1.205 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/1.133, allocations: 112.6 kB / 1.205 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of SimCode: time 6.81e-07/1.133, allocations: 0 / 1.205 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of Templates: time 0.02978/1.163, allocations: 18.2 MB / 1.223 GB, free: 7.137 MB / 0.92 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=400 -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/jenkins1/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