Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001576/0.001576, allocations: 111.4 kB / 16.41 MB, free: 6.492 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.002138/0.002138, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.448/1.448, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.433/2.433, allocations: 437.1 MB / 0.7171 GB, free: 4.031 MB / 0.5762 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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 59.91 kB / 1.027 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7546/0.7574, allocations: 151.6 MB / 1.175 GB, free: 17.54 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006864/0.7643, allocations: 5.188 MB / 1.18 GB, free: 13.82 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1744/0.9388, allocations: 150.7 MB / 1.327 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.9401, allocations: 19.88 kB / 1.327 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009491/0.9411, allocations: 202.1 kB / 1.327 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.9436, allocations: 0.562 MB / 1.328 GB, free: 11.83 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.9462, allocations: 0.8782 MB / 1.329 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002122/0.9483, allocations: 1.444 MB / 1.33 GB, free: 9.508 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.9495, allocations: 0.6638 MB / 1.331 GB, free: 8.816 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008777/0.9504, allocations: 0.5061 MB / 1.331 GB, free: 8.309 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008716/0.9513, allocations: 0.5484 MB / 1.332 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.9516, allocations: 124 kB / 1.332 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.9528, allocations: 0.5113 MB / 1.332 GB, free: 7.125 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.9532, allocations: 315 kB / 1.333 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008164/0.954, allocations: 0.6141 MB / 1.333 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.9569, allocations: 1.77 MB / 1.335 GB, free: 4.422 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9569, allocations: 0 / 1.335 GB, free: 4.422 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9569, allocations: 0 / 1.335 GB, free: 4.422 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.9569, allocations: 0 / 1.335 GB, free: 4.422 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002679/0.9596, allocations: 1.549 MB / 1.336 GB, free: 2.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.9597, allocations: 8.625 kB / 1.336 GB, free: 2.812 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.9598, allocations: 156.2 kB / 1.337 GB, free: 2.652 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.9609, allocations: 216 kB / 1.337 GB, free: 2.441 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.9621, allocations: 0.7932 MB / 1.338 GB, free: 1.605 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.9621, allocations: 74 kB / 1.338 GB, free: 1.535 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.9623, allocations: 92 kB / 1.338 GB, free: 1.445 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.964, allocations: 1.012 MB / 1.339 GB, free: 400 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.964, allocations: 0 / 1.339 GB, free: 400 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.206e-05/0.9641, allocations: 40 kB / 1.339 GB, free: 360 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.9642, allocations: 24 kB / 1.339 GB, free: 336 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.9662, allocations: 1.179 MB / 1.34 GB, free: 15.15 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.004372/0.9705, allocations: 2.95 MB / 1.343 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.9723, allocations: 0.9034 MB / 1.344 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/0.9729, allocations: 318.7 kB / 1.344 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006567/0.9736, allocations: 474.2 kB / 1.344 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000915/0.9745, allocations: 0.5047 MB / 1.345 GB, free: 9.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.184e-06/0.9745, allocations: 4 kB / 1.345 GB, free: 9.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003339/0.9779, allocations: 1.237 MB / 1.346 GB, free: 8.484 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.978, allocations: 192.6 kB / 1.346 GB, free: 8.254 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008346/0.9788, allocations: 0.6411 MB / 1.347 GB, free: 7.609 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/0.9789, allocations: 41.7 kB / 1.347 GB, free: 7.562 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.9793, allocations: 441 kB / 1.347 GB, free: 7.125 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.9795, allocations: 273.7 kB / 1.348 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.9798, allocations: 154.6 kB / 1.348 GB, free: 6.699 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.98, allocations: 382.8 kB / 1.348 GB, free: 6.316 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/0.9805, allocations: 257.8 kB / 1.348 GB, free: 6.066 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.9812, allocations: 370.5 kB / 1.349 GB, free: 5.676 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.9824, allocations: 0.6072 MB / 1.349 GB, free: 5.059 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9824, allocations: 0 / 1.349 GB, free: 5.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001998/0.9844, allocations: 0.8335 MB / 1.35 GB, free: 4.211 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.9844, allocations: 6.656 kB / 1.35 GB, free: 4.207 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.9844, allocations: 7.938 kB / 1.35 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.985, allocations: 80.86 kB / 1.35 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.9857, allocations: 159.8 kB / 1.35 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.9883, allocations: 1.637 MB / 1.352 GB, free: 2.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/0.9891, allocations: 99.55 kB / 1.352 GB, free: 2.086 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.9891, allocations: 27.98 kB / 1.352 GB, free: 2.059 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (88): * Single equations (assignments): 87 * 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.0004598/0.9896, allocations: 266.4 kB / 1.352 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.9898, allocations: 87.47 kB / 1.352 GB, free: 1.703 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.9923, allocations: 1.105 MB / 1.354 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.9923, allocations: 12 kB / 1.354 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9923, allocations: 3.984 kB / 1.354 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.9923, allocations: 3.984 kB / 1.354 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.9958, allocations: 2.017 MB / 1.356 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.9958, allocations: 0 / 1.356 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.9964, allocations: 147.8 kB / 1.356 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.9968, allocations: 76.78 kB / 1.356 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.9969, allocations: 27.98 kB / 1.356 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.9989, allocations: 1.65 MB / 1.357 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9989, allocations: 96 / 1.357 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/1.001, allocations: 1.026 MB / 1.358 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/1.002, allocations: 288.1 kB / 1.359 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.002, allocations: 16 kB / 1.359 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/1.002, allocations: 67.92 kB / 1.359 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.002, allocations: 80.77 kB / 1.359 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/1.003, allocations: 31.98 kB / 1.359 GB, free: 10.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005887/1.003, allocations: 467 kB / 1.359 GB, free: 10.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/1.003, allocations: 0 / 1.359 GB, free: 10.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009032/1.004, allocations: 355.1 kB / 1.36 GB, free: 10.1 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: 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 (93): * Single equations (assignments): 87 * 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.00416/1.008, allocations: 2.103 MB / 1.362 GB, free: 8.137 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001732/1.01, allocations: 0.8197 MB / 1.362 GB, free: 7.305 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.01, allocations: 0 / 1.362 GB, free: 7.305 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009874/1.011, allocations: 0.5392 MB / 1.363 GB, free: 6.754 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/1.012, allocations: 317.5 kB / 1.363 GB, free: 6.469 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.023, allocations: 6.437 MB / 1.37 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/1.023, allocations: 1.043 MB / 1.371 GB, free: 14.8 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008075/1.024, allocations: 278.7 kB / 1.371 GB, free: 14.52 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005782/1.025, allocations: 411.3 kB / 1.371 GB, free: 14.12 MB / 1.092 GB Notification: Performance of SimCode: time 6.02e-07/1.025, allocations: 0 / 1.371 GB, free: 14.12 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05733/1.082, allocations: 22.45 MB / 1.393 GB, free: 7.922 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.8, allocations: 9.938 kB / 1.393 GB, free: 7.914 MB / 1.107 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.534923776984215]