Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001451/0.001452, allocations: 108 kB / 15.99 MB, free: 5.906 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.001478/0.001478, allocations: 195.4 kB / 16.91 MB, free: 5.754 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.459/1.459, allocations: 222.9 MB / 240.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 68.16 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006991/0.3596, allocations: 4.798 MB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8012/1.161, allocations: 148.4 MB / 1.214 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009612/1.162, allocations: 15.34 kB / 1.214 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006356/1.163, allocations: 148.9 kB / 1.214 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00194/1.165, allocations: 481 kB / 1.214 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/1.167, allocations: 0.7414 MB / 1.215 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001819/1.168, allocations: 1.355 MB / 1.216 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009296/1.169, allocations: 0.574 MB / 1.217 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000858/1.17, allocations: 490.8 kB / 1.217 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/1.171, allocations: 498.2 kB / 1.218 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/1.171, allocations: 113.2 kB / 1.218 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/1.172, allocations: 455.4 kB / 1.218 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/1.172, allocations: 293.3 kB / 1.219 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005457/1.173, allocations: 0.5456 MB / 1.219 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/1.175, allocations: 1.201 MB / 1.22 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/1.175, allocations: 4 kB / 1.22 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.894e-06/1.175, allocations: 5.438 kB / 1.22 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.543e-05/1.175, allocations: 0 / 1.22 GB, free: 6.938 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.002795/1.177, allocations: 1.408 MB / 1.222 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.178, allocations: 8.344 kB / 1.222 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/1.178, allocations: 186.4 kB / 1.222 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/1.18, allocations: 0.736 MB / 1.223 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/1.18, allocations: 64.22 kB / 1.223 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.18, allocations: 80.31 kB / 1.223 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/1.181, allocations: 0.9018 MB / 1.224 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/1.181, allocations: 1.219 kB / 1.224 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/1.182, allocations: 34.59 kB / 1.224 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/1.182, allocations: 19.81 kB / 1.224 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/1.183, allocations: 1.099 MB / 1.225 GB, free: 3.941 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.004334/1.188, allocations: 2.669 MB / 1.227 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/1.189, allocations: 0.8682 MB / 1.228 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/1.19, allocations: 306.7 kB / 1.229 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.54e-05/1.19, allocations: 28.59 kB / 1.229 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/1.191, allocations: 499 kB / 1.229 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=79): time 2.475e-06/1.191, allocations: 3.562 kB / 1.229 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=79): time 0.003389/1.194, allocations: 1.17 MB / 1.23 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/1.194, allocations: 204.5 kB / 1.23 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009552/1.195, allocations: 0.6213 MB / 1.231 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.809e-05/1.196, allocations: 41.7 kB / 1.231 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/1.196, allocations: 384.5 kB / 1.231 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/1.196, allocations: 260.3 kB / 1.232 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/1.196, allocations: 158.5 kB / 1.232 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.197, allocations: 386.8 kB / 1.232 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/1.197, allocations: 265.9 kB / 1.232 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/1.198, allocations: 359.1 kB / 1.233 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.199, allocations: 0.5994 MB / 1.233 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.199, allocations: 0 / 1.233 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002105/1.201, allocations: 0.8448 MB / 1.234 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.201, allocations: 4 kB / 1.234 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.201, allocations: 4 kB / 1.234 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/1.202, allocations: 76.86 kB / 1.234 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/1.203, allocations: 159.8 kB / 1.234 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/1.205, allocations: 1.645 MB / 1.236 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/1.206, allocations: 93.94 kB / 1.236 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.85e-05/1.206, allocations: 35.98 kB / 1.236 GB, free: 8.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.0005713/1.207, allocations: 263.4 kB / 1.236 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/1.207, allocations: 86.91 kB / 1.237 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/1.209, allocations: 1.053 MB / 1.238 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.209, allocations: 8 kB / 1.238 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.209, allocations: 4 kB / 1.238 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.209, allocations: 7.969 kB / 1.238 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/1.213, allocations: 1.91 MB / 1.239 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.213, allocations: 0 / 1.239 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/1.214, allocations: 147.8 kB / 1.24 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/1.214, allocations: 72.78 kB / 1.24 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-05/1.214, allocations: 29.02 kB / 1.24 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/1.217, allocations: 1.651 MB / 1.241 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.217, allocations: 9.672 kB / 1.241 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/1.219, allocations: 0.9727 MB / 1.242 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/1.219, allocations: 275.7 kB / 1.242 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/1.22, allocations: 19.94 kB / 1.243 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007642/1.22, allocations: 68.77 kB / 1.243 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/1.221, allocations: 68.84 kB / 1.243 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.448e-05/1.221, allocations: 39.97 kB / 1.243 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006793/1.221, allocations: 451 kB / 1.243 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.221, allocations: 0 / 1.243 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001077/1.222, allocations: 318.9 kB / 1.243 GB, free: 0.6484 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.002073/1.224, allocations: 0.6141 MB / 1.244 GB, free: 216 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00253/1.227, allocations: 1.011 MB / 1.245 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.227, allocations: 7.938 kB / 1.245 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/1.228, allocations: 0.5081 MB / 1.246 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.23, allocations: 300.3 kB / 1.246 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/1.233, allocations: 2.074 MB / 1.248 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/1.234, allocations: 1.012 MB / 1.249 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/1.234, allocations: 123.4 kB / 1.249 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/1.234, allocations: 0 / 1.249 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of Templates: time 0.02933/1.264, allocations: 18.2 MB / 1.267 GB, free: 8.973 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches