Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004513/0.004513, allocations: 102.8 kB / 15.73 MB, free: 6.039 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.001018/0.001018, allocations: 195.8 kB / 16.67 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.329/2.329, allocations: 437 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.34 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7897/0.7909, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006437/0.7974, allocations: 5.007 MB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.958, allocations: 150.7 MB / 1.318 GB, free: 7.398 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000988/0.959, allocations: 15.94 kB / 1.318 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008543/0.9599, allocations: 198.1 kB / 1.318 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.9622, allocations: 0.5638 MB / 1.319 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.9646, allocations: 0.8922 MB / 1.32 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.9666, allocations: 1.479 MB / 1.321 GB, free: 4.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.9677, allocations: 0.5946 MB / 1.322 GB, free: 3.629 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008972/0.9686, allocations: 0.5217 MB / 1.322 GB, free: 3.105 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/0.9695, allocations: 0.5368 MB / 1.323 GB, free: 2.566 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.9698, allocations: 120 kB / 1.323 GB, free: 2.449 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.971, allocations: 0.5034 MB / 1.324 GB, free: 1.945 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004006/0.9714, allocations: 311 kB / 1.324 GB, free: 1.641 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008466/0.9723, allocations: 0.5947 MB / 1.324 GB, free: 1.043 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.9748, allocations: 1.729 MB / 1.326 GB, free: 15.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9748, allocations: 0 / 1.326 GB, free: 15.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9748, allocations: 4 kB / 1.326 GB, free: 15.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.876e-05/0.9749, allocations: 0 / 1.326 GB, free: 15.3 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003438/0.9783, allocations: 1.502 MB / 1.328 GB, free: 13.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.9784, allocations: 12.92 kB / 1.328 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.9786, allocations: 139.8 kB / 1.328 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009982/0.9796, allocations: 199.3 kB / 1.328 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.9811, allocations: 0.7818 MB / 1.329 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.9811, allocations: 70 kB / 1.329 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.9813, allocations: 84 kB / 1.329 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.983, allocations: 0.9808 MB / 1.33 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.9831, allocations: 0 / 1.33 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.053e-05/0.9832, allocations: 36 kB / 1.33 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.9832, allocations: 31.88 kB / 1.33 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.9851, allocations: 1.159 MB / 1.331 GB, free: 10.18 MB / 1.061 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.004569/0.9897, allocations: 2.88 MB / 1.334 GB, free: 7.184 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.9918, allocations: 0.9815 MB / 1.335 GB, free: 6.184 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/0.9924, allocations: 328 kB / 1.335 GB, free: 5.863 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.778e-05/0.9925, allocations: 42.73 kB / 1.335 GB, free: 5.824 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009257/0.9934, allocations: 0.5353 MB / 1.336 GB, free: 5.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=88): time 2.745e-06/0.9935, allocations: 0 / 1.336 GB, free: 5.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=88): time 0.003323/0.9968, allocations: 1.298 MB / 1.337 GB, free: 3.941 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.9969, allocations: 200.9 kB / 1.337 GB, free: 3.703 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/0.9979, allocations: 0.6528 MB / 1.338 GB, free: 3.039 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.357e-05/0.9979, allocations: 45.69 kB / 1.338 GB, free: 2.988 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.9983, allocations: 404.5 kB / 1.338 GB, free: 2.586 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.9985, allocations: 279.9 kB / 1.338 GB, free: 2.309 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.9988, allocations: 162.5 kB / 1.339 GB, free: 2.145 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.999, allocations: 390.7 kB / 1.339 GB, free: 1.754 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.9995, allocations: 269.9 kB / 1.339 GB, free: 1.488 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/1, allocations: 382.5 kB / 1.34 GB, free: 1.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/1.001, allocations: 0.6359 MB / 1.34 GB, free: 456 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.001, allocations: 0 / 1.34 GB, free: 456 kB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002066/1.003, allocations: 0.8644 MB / 1.341 GB, free: 15.56 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.003, allocations: 7.984 kB / 1.341 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.003, allocations: 4 kB / 1.341 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/1.004, allocations: 80.84 kB / 1.341 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/1.005, allocations: 167.7 kB / 1.341 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/1.007, allocations: 1.637 MB / 1.343 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/1.008, allocations: 103.3 kB / 1.343 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/1.008, allocations: 36.03 kB / 1.343 GB, free: 13.39 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0004735/1.009, allocations: 263.4 kB / 1.343 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/1.009, allocations: 94.88 kB / 1.343 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/1.011, allocations: 1.195 MB / 1.345 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.011, allocations: 12 kB / 1.345 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.011, allocations: 3.984 kB / 1.345 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.011, allocations: 3.984 kB / 1.345 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/1.015, allocations: 2.102 MB / 1.347 GB, free: 9.637 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.015, allocations: 0 / 1.347 GB, free: 9.637 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/1.016, allocations: 171.7 kB / 1.347 GB, free: 9.469 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/1.016, allocations: 68.8 kB / 1.347 GB, free: 9.398 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/1.016, allocations: 27.97 kB / 1.347 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/1.018, allocations: 1.658 MB / 1.348 GB, free: 7.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.018, allocations: 4.031 kB / 1.348 GB, free: 7.566 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/1.021, allocations: 1.091 MB / 1.35 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/1.021, allocations: 283.7 kB / 1.35 GB, free: 6.156 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/1.021, allocations: 27.98 kB / 1.35 GB, free: 6.129 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007474/1.022, allocations: 71.92 kB / 1.35 GB, free: 6.059 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.022, allocations: 84.97 kB / 1.35 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.752e-05/1.022, allocations: 35.97 kB / 1.35 GB, free: 5.941 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000659/1.023, allocations: 475 kB / 1.35 GB, free: 5.484 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.023, allocations: 0 / 1.35 GB, free: 5.484 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009871/1.024, allocations: 347.2 kB / 1.351 GB, free: 5.145 MB / 1.076 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 (106): * Single equations (assignments): 99 * 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.003755/1.028, allocations: 2.161 MB / 1.353 GB, free: 3.121 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001809/1.029, allocations: 0.8743 MB / 1.354 GB, free: 2.234 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.029, allocations: 0 / 1.354 GB, free: 2.234 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009928/1.03, allocations: 0.5665 MB / 1.354 GB, free: 1.656 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/1.032, allocations: 310.6 kB / 1.355 GB, free: 1.375 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/1.043, allocations: 6.546 MB / 1.361 GB, free: 10.67 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/1.044, allocations: 1.048 MB / 1.362 GB, free: 9.598 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008862/1.045, allocations: 279.1 kB / 1.362 GB, free: 9.32 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006263/1.045, allocations: 411.3 kB / 1.363 GB, free: 8.918 MB / 1.092 GB Notification: Performance of SimCode: time 6.91e-07/1.045, allocations: 0 / 1.363 GB, free: 8.918 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05495/1.1, allocations: 22.93 MB / 1.385 GB, free: 2.238 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.52, allocations: 12.53 kB / 1.385 GB, free: 2.23 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches