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.00141/0.00141, allocations: 108 kB / 15.61 MB, free: 152 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.001472/0.001472, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.751/2.751, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002014, allocations: 63.89 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.577/0.579, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006871/0.5859, allocations: 4.799 MB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1907/0.7766, allocations: 150.6 MB / 1.169 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.7779, allocations: 15.94 kB / 1.169 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006923/0.7786, allocations: 194.2 kB / 1.169 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.7808, allocations: 0.5422 MB / 1.17 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.783, allocations: 0.8292 MB / 1.171 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.7847, allocations: 1.351 MB / 1.172 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000964/0.7857, allocations: 0.5791 MB / 1.172 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.7863, allocations: 474.4 kB / 1.173 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006226/0.787, allocations: 497.8 kB / 1.173 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.7871, allocations: 112 kB / 1.173 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009514/0.7881, allocations: 463.6 kB / 1.174 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003145/0.7884, allocations: 287.1 kB / 1.174 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000549/0.789, allocations: 0.5519 MB / 1.175 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.7909, allocations: 1.566 MB / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7909, allocations: 0 / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7909, allocations: 0 / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.791, allocations: 4 kB / 1.176 GB, free: 15.07 MB / 0.9356 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.002753/0.7937, allocations: 1.41 MB / 1.178 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.7938, allocations: 12.03 kB / 1.178 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009626/0.7948, allocations: 175.4 kB / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.7959, allocations: 0.7422 MB / 1.179 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.796, allocations: 62 kB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.7961, allocations: 76 kB / 1.179 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.7977, allocations: 0.9067 MB / 1.18 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.7978, allocations: 0 / 1.18 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.024e-05/0.7979, allocations: 40 kB / 1.18 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.7979, allocations: 20 kB / 1.18 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.7998, allocations: 1.096 MB / 1.181 GB, free: 10.39 MB / 0.9356 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.004288/0.8041, allocations: 2.665 MB / 1.183 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.8058, allocations: 0.8664 MB / 1.184 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.8064, allocations: 302.6 kB / 1.184 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-05/0.8065, allocations: 32.59 kB / 1.184 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009819/0.8075, allocations: 499 kB / 1.185 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.535e-06/0.8075, allocations: 0 / 1.185 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.003392/0.8109, allocations: 1.182 MB / 1.186 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.8111, allocations: 192.5 kB / 1.186 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000939/0.812, allocations: 0.6291 MB / 1.187 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.892e-05/0.8121, allocations: 37.7 kB / 1.187 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.8125, allocations: 392.4 kB / 1.187 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.8127, allocations: 256.3 kB / 1.188 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.8129, allocations: 162.5 kB / 1.188 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.8132, allocations: 386.7 kB / 1.188 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.8137, allocations: 261.9 kB / 1.188 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/0.8144, allocations: 359.1 kB / 1.189 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.8156, allocations: 0.5955 MB / 1.189 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8156, allocations: 0 / 1.189 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002085/0.8177, allocations: 0.8488 MB / 1.19 GB, free: 488 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.8177, allocations: 4 kB / 1.19 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.8177, allocations: 0 / 1.19 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/0.8183, allocations: 80.84 kB / 1.19 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.819, allocations: 159.8 kB / 1.19 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.8216, allocations: 1.642 MB / 1.192 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.8224, allocations: 87.31 kB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/0.8225, allocations: 44.03 kB / 1.192 GB, free: 14.32 MB / 0.9512 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.0004952/0.823, allocations: 259.4 kB / 1.192 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.8232, allocations: 83.06 kB / 1.192 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.8257, allocations: 1.054 MB / 1.193 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.8257, allocations: 8 kB / 1.193 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.8257, allocations: 0 / 1.193 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.8257, allocations: 7.922 kB / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.8292, allocations: 1.907 MB / 1.195 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.8292, allocations: 0 / 1.195 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/0.8298, allocations: 143.8 kB / 1.195 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.8303, allocations: 72.78 kB / 1.195 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/0.8304, allocations: 27.97 kB / 1.196 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.8326, allocations: 1.654 MB / 1.197 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8327, allocations: 4 kB / 1.197 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.8348, allocations: 0.9882 MB / 1.198 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.8352, allocations: 275.7 kB / 1.198 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.8353, allocations: 16 kB / 1.198 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/0.836, allocations: 63.88 kB / 1.198 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.8362, allocations: 72.89 kB / 1.199 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/0.8363, allocations: 35.98 kB / 1.199 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000605/0.8369, allocations: 451 kB / 1.199 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8369, allocations: 0 / 1.199 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009095/0.8378, allocations: 315.3 kB / 1.199 GB, free: 6.648 MB / 0.9512 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.002131/0.8399, allocations: 0.6072 MB / 1.2 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002542/0.8425, allocations: 1.022 MB / 1.201 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8425, allocations: 0 / 1.201 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.8435, allocations: 0.5083 MB / 1.201 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.8448, allocations: 320.8 kB / 1.202 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.848, allocations: 1.626 MB / 1.203 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/0.8488, allocations: 1.019 MB / 1.204 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008619/0.8497, allocations: 254.6 kB / 1.204 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.85, allocations: 99.39 kB / 1.205 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.85, allocations: 0 / 1.205 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.03064/0.8806, allocations: 14.95 MB / 1.219 GB, free: 2.547 MB / 0.9669 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/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