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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 106.4 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 443.5 MB / 0.7287 GB, free: 13.39 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 68.03 kB / 1.056 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7181, allocations: 160.7 MB / 1.213 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007478/0.7255, allocations: 5.049 MB / 1.218 GB, free: 92 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1866/0.9121, allocations: 151.2 MB / 1.365 GB, free: 11.58 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.9132, allocations: 11.94 kB / 1.365 GB, free: 11.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008452/0.9141, allocations: 202.1 kB / 1.366 GB, free: 11.37 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.9163, allocations: 0.578 MB / 1.366 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.9188, allocations: 0.8795 MB / 1.367 GB, free: 9.918 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002052/0.9208, allocations: 1.471 MB / 1.369 GB, free: 8.438 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008485/0.9217, allocations: 437 kB / 1.369 GB, free: 7.984 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008388/0.9225, allocations: 0.5217 MB / 1.369 GB, free: 7.461 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008248/0.9234, allocations: 0.5445 MB / 1.37 GB, free: 6.914 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.9236, allocations: 124 kB / 1.37 GB, free: 6.793 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.9246, allocations: 0.4957 MB / 1.371 GB, free: 6.297 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/0.925, allocations: 315 kB / 1.371 GB, free: 5.988 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007292/0.9257, allocations: 0.5907 MB / 1.371 GB, free: 5.395 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.9281, allocations: 1.732 MB / 1.373 GB, free: 3.656 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9281, allocations: 4 kB / 1.373 GB, free: 3.652 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9281, allocations: 0 / 1.373 GB, free: 3.652 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.128e-05/0.9282, allocations: 0 / 1.373 GB, free: 3.652 MB / 1.076 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.003573/0.9317, allocations: 1.532 MB / 1.375 GB, free: 2.066 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.9318, allocations: 12.62 kB / 1.375 GB, free: 2.055 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/0.932, allocations: 147.8 kB / 1.375 GB, free: 1.902 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009354/0.9329, allocations: 196 kB / 1.375 GB, free: 1.711 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.9342, allocations: 0.8018 MB / 1.376 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.9343, allocations: 66 kB / 1.376 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.9344, allocations: 84 kB / 1.376 GB, free: 0.7188 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.9361, allocations: 0.9769 MB / 1.377 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.9361, allocations: 3.938 kB / 1.377 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/0.9362, allocations: 39.94 kB / 1.377 GB, free: 15.66 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.9362, allocations: 28 kB / 1.377 GB, free: 15.63 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.9381, allocations: 1.155 MB / 1.378 GB, free: 14.47 MB / 1.092 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.004709/0.9428, allocations: 2.888 MB / 1.381 GB, free: 11.47 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.9449, allocations: 0.9272 MB / 1.382 GB, free: 10.52 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/0.9455, allocations: 299.4 kB / 1.382 GB, free: 10.23 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.003e-05/0.9456, allocations: 38.73 kB / 1.382 GB, free: 10.2 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009522/0.9465, allocations: 0.5315 MB / 1.383 GB, free: 9.645 MB / 1.092 GB Notification: Performance of pre-optimization done (n=88): time 2.254e-06/0.9465, allocations: 0 / 1.383 GB, free: 9.645 MB / 1.092 GB Notification: Performance of matching and sorting (n=88): time 0.003374/0.9499, allocations: 1.306 MB / 1.384 GB, free: 8.309 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.95, allocations: 196.9 kB / 1.384 GB, free: 8.074 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008712/0.9509, allocations: 0.6489 MB / 1.385 GB, free: 7.418 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.137e-05/0.951, allocations: 41.7 kB / 1.385 GB, free: 7.371 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.9514, allocations: 413.2 kB / 1.385 GB, free: 6.961 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.9517, allocations: 301.4 kB / 1.385 GB, free: 6.664 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.9519, allocations: 162.6 kB / 1.386 GB, free: 6.5 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.9522, allocations: 386.8 kB / 1.386 GB, free: 6.113 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.9527, allocations: 273.8 kB / 1.386 GB, free: 5.844 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.9534, allocations: 382.5 kB / 1.387 GB, free: 5.445 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.9546, allocations: 0.6281 MB / 1.387 GB, free: 4.809 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9546, allocations: 0 / 1.387 GB, free: 4.809 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002012/0.9566, allocations: 0.8764 MB / 1.388 GB, free: 3.918 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9566, allocations: 8 kB / 1.388 GB, free: 3.91 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9566, allocations: 0 / 1.388 GB, free: 3.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.9572, allocations: 84.83 kB / 1.388 GB, free: 3.824 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/0.9579, allocations: 167.7 kB / 1.388 GB, free: 3.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.9601, allocations: 1.633 MB / 1.39 GB, free: 1.887 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.9609, allocations: 107.5 kB / 1.39 GB, free: 1.781 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/0.961, allocations: 39.97 kB / 1.39 GB, free: 1.742 MB / 1.092 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.000451/0.9614, allocations: 265 kB / 1.39 GB, free: 1.477 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.9616, allocations: 87.44 kB / 1.39 GB, free: 1.391 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/0.9643, allocations: 1.195 MB / 1.392 GB, free: 184 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.9643, allocations: 19.88 kB / 1.392 GB, free: 164 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.9643, allocations: 0 / 1.392 GB, free: 164 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.9643, allocations: 7.969 kB / 1.392 GB, free: 156 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/0.9684, allocations: 2.099 MB / 1.394 GB, free: 13.99 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9684, allocations: 0 / 1.394 GB, free: 13.99 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.9691, allocations: 163.7 kB / 1.394 GB, free: 13.83 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/0.9695, allocations: 76.78 kB / 1.394 GB, free: 13.75 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.9696, allocations: 31.97 kB / 1.394 GB, free: 13.72 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.9717, allocations: 1.658 MB / 1.396 GB, free: 11.92 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9717, allocations: 0 / 1.396 GB, free: 11.92 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.974, allocations: 1.092 MB / 1.397 GB, free: 10.81 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/0.9746, allocations: 300.1 kB / 1.397 GB, free: 10.5 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.9747, allocations: 16 kB / 1.397 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006928/0.9754, allocations: 75.92 kB / 1.397 GB, free: 10.41 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.9756, allocations: 84.95 kB / 1.397 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.9757, allocations: 43.97 kB / 1.397 GB, free: 10.28 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006497/0.9763, allocations: 471 kB / 1.398 GB, free: 9.828 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.9763, allocations: 3.938 kB / 1.398 GB, free: 9.824 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009495/0.9773, allocations: 347.1 kB / 1.398 GB, free: 9.484 MB / 1.107 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.004391/0.9817, allocations: 2.175 MB / 1.4 GB, free: 7.465 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.9835, allocations: 0.8469 MB / 1.401 GB, free: 6.605 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9835, allocations: 0 / 1.401 GB, free: 6.605 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.9845, allocations: 0.5275 MB / 1.401 GB, free: 6.066 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.9858, allocations: 310.2 kB / 1.402 GB, free: 5.777 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.9971, allocations: 6.588 MB / 1.408 GB, free: 15.03 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.9978, allocations: 1.05 MB / 1.409 GB, free: 13.96 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008864/0.9987, allocations: 271.1 kB / 1.409 GB, free: 13.69 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005935/0.9993, allocations: 415.2 kB / 1.41 GB, free: 13.28 MB / 1.123 GB Notification: Performance of SimCode: time 9.91e-07/0.9993, allocations: 0 / 1.41 GB, free: 13.28 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06204/1.061, allocations: 23.05 MB / 1.432 GB, free: 6.438 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.47, allocations: 15.84 kB / 1.432 GB, free: 6.422 MB / 1.139 GB " [Timeout remaining time 285] (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 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.234871154185385]