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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 107.6 kB / 18.95 MB, free: 2.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 213.1 kB / 22.24 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.83/2.83, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 64.02 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2827, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00629/0.289, allocations: 4.349 MB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.4508, allocations: 132.7 MB / 1.416 GB, free: 2.934 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009021/0.4517, allocations: 19.88 kB / 1.416 GB, free: 2.914 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.4526, allocations: 206.1 kB / 1.417 GB, free: 2.711 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.4547, allocations: 0.5535 MB / 1.417 GB, free: 2.156 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.4569, allocations: 0.8629 MB / 1.418 GB, free: 1.301 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.4587, allocations: 1.394 MB / 1.419 GB, free: 15.9 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008089/0.4595, allocations: 385.9 kB / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007546/0.4603, allocations: 0.5022 MB / 1.42 GB, free: 14.99 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.4609, allocations: 457.8 kB / 1.421 GB, free: 14.54 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.461, allocations: 116 kB / 1.421 GB, free: 14.43 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009117/0.4619, allocations: 487.6 kB / 1.421 GB, free: 13.95 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.4622, allocations: 303 kB / 1.421 GB, free: 13.66 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004306/0.4626, allocations: 457.8 kB / 1.422 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.4645, allocations: 1.669 MB / 1.424 GB, free: 11.53 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4645, allocations: 4 kB / 1.424 GB, free: 11.53 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4645, allocations: 0 / 1.424 GB, free: 11.53 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.4645, allocations: 0 / 1.424 GB, free: 11.53 MB / 1.123 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.002482/0.467, allocations: 1.413 MB / 1.425 GB, free: 10.08 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4671, allocations: 8.031 kB / 1.425 GB, free: 10.07 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.4672, allocations: 131.3 kB / 1.425 GB, free: 9.938 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.4686, allocations: 228 kB / 1.425 GB, free: 9.715 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.4699, allocations: 0.7141 MB / 1.426 GB, free: 8.977 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.47, allocations: 58 kB / 1.426 GB, free: 8.918 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.4701, allocations: 76 kB / 1.426 GB, free: 8.844 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.4718, allocations: 1.162 MB / 1.427 GB, free: 7.582 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.4718, allocations: 3.938 kB / 1.427 GB, free: 7.578 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.4719, allocations: 36 kB / 1.427 GB, free: 7.543 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.4719, allocations: 20 kB / 1.427 GB, free: 7.523 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.4736, allocations: 1.05 MB / 1.428 GB, free: 6.473 MB / 1.123 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.00374/0.4773, allocations: 2.185 MB / 1.43 GB, free: 4.219 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.4788, allocations: 0.7429 MB / 1.431 GB, free: 3.469 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005188/0.4793, allocations: 274.7 kB / 1.431 GB, free: 3.195 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.78e-05/0.4794, allocations: 32.56 kB / 1.431 GB, free: 3.164 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009059/0.4803, allocations: 0.5815 MB / 1.432 GB, free: 2.539 MB / 1.123 GB Notification: Performance of pre-optimization done (n=79): time 2.595e-06/0.4803, allocations: 0 / 1.432 GB, free: 2.539 MB / 1.123 GB Notification: Performance of matching and sorting (n=79): time 0.003158/0.4835, allocations: 1.111 MB / 1.433 GB, free: 1.422 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.4836, allocations: 196.6 kB / 1.433 GB, free: 1.188 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008284/0.4844, allocations: 0.6565 MB / 1.434 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/0.4845, allocations: 41.7 kB / 1.434 GB, free: 484 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.4848, allocations: 393.1 kB / 1.434 GB, free: 84 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.485, allocations: 273.9 kB / 1.435 GB, free: 15.81 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.4852, allocations: 138.6 kB / 1.435 GB, free: 15.67 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4854, allocations: 390.5 kB / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.486, allocations: 245.9 kB / 1.435 GB, free: 15.04 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006858/0.4866, allocations: 487 kB / 1.436 GB, free: 14.51 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.4877, allocations: 0.576 MB / 1.436 GB, free: 13.92 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4877, allocations: 0 / 1.436 GB, free: 13.92 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00187/0.4896, allocations: 0.7984 MB / 1.437 GB, free: 13.11 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4896, allocations: 8 kB / 1.437 GB, free: 13.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4896, allocations: 4.094 kB / 1.437 GB, free: 13.1 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.4902, allocations: 80.77 kB / 1.437 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.4908, allocations: 159.7 kB / 1.437 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.493, allocations: 1.519 MB / 1.439 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.4937, allocations: 83.58 kB / 1.439 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.4937, allocations: 27.98 kB / 1.439 GB, free: 11.11 MB / 1.139 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 (85): * Single equations (assignments): 84 * 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.0004114/0.4941, allocations: 273.6 kB / 1.439 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.4943, allocations: 87.44 kB / 1.439 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.4967, allocations: 1.05 MB / 1.44 GB, free: 9.684 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4967, allocations: 16 kB / 1.44 GB, free: 9.668 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4967, allocations: 3.938 kB / 1.44 GB, free: 9.664 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.4967, allocations: 3.984 kB / 1.44 GB, free: 9.66 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.4999, allocations: 1.778 MB / 1.442 GB, free: 7.828 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4999, allocations: 0 / 1.442 GB, free: 7.828 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.5005, allocations: 143.8 kB / 1.442 GB, free: 7.688 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/0.5009, allocations: 76.72 kB / 1.442 GB, free: 7.609 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/0.501, allocations: 27.98 kB / 1.442 GB, free: 7.582 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.503, allocations: 1.547 MB / 1.444 GB, free: 5.914 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.503, allocations: 0 / 1.444 GB, free: 5.914 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.5052, allocations: 0.9946 MB / 1.445 GB, free: 4.898 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.5057, allocations: 199.1 kB / 1.445 GB, free: 4.703 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.5058, allocations: 31.89 kB / 1.445 GB, free: 4.672 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/0.5064, allocations: 61.83 kB / 1.445 GB, free: 4.617 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.5066, allocations: 72.86 kB / 1.445 GB, free: 4.547 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/0.5066, allocations: 43.97 kB / 1.445 GB, free: 4.504 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006171/0.5072, allocations: 471 kB / 1.446 GB, free: 4.051 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5072, allocations: 0 / 1.446 GB, free: 4.051 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008402/0.5081, allocations: 311.2 kB / 1.446 GB, free: 3.746 MB / 1.139 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.004235/0.5123, allocations: 2.067 MB / 1.448 GB, free: 1.859 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.514, allocations: 0.765 MB / 1.449 GB, free: 1.082 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.514, allocations: 0 / 1.449 GB, free: 1.082 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009073/0.5149, allocations: 496.2 kB / 1.449 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.5161, allocations: 304.1 kB / 1.45 GB, free: 316 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.5261, allocations: 6.226 MB / 1.456 GB, free: 9.934 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.5266, allocations: 431.6 kB / 1.456 GB, free: 9.473 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007896/0.5273, allocations: 270.7 kB / 1.456 GB, free: 9.203 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005644/0.5279, allocations: 379.3 kB / 1.457 GB, free: 8.832 MB / 1.154 GB Notification: Performance of SimCode: time 6.71e-07/0.5279, allocations: 4 kB / 1.457 GB, free: 8.828 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06411/0.592, allocations: 23.24 MB / 1.479 GB, free: 1.934 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.82, allocations: 6.234 kB / 1.479 GB, free: 1.93 MB / 1.17 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.46508430177346]