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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001396/0.001396, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.502/2.502, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 68.12 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7748, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005022/0.7799, allocations: 4.847 MB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.9502, allocations: 151.1 MB / 1.424 GB, free: 3.859 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008846/0.951, allocations: 19.84 kB / 1.424 GB, free: 3.852 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.9516, allocations: 189.5 kB / 1.424 GB, free: 3.684 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.9531, allocations: 0.5408 MB / 1.424 GB, free: 3.281 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.955, allocations: 0.8545 MB / 1.425 GB, free: 2.625 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.9563, allocations: 1.372 MB / 1.427 GB, free: 1.766 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/0.9569, allocations: 401 kB / 1.427 GB, free: 1.473 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.9575, allocations: 478.9 kB / 1.427 GB, free: 1.191 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006209/0.9581, allocations: 0.5007 MB / 1.428 GB, free: 0.832 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.9583, allocations: 113.3 kB / 1.428 GB, free: 0.832 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008261/0.9591, allocations: 481.6 kB / 1.428 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.9594, allocations: 293.9 kB / 1.429 GB, free: 432 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.9599, allocations: 0.5483 MB / 1.429 GB, free: 16 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.9616, allocations: 1.616 MB / 1.431 GB, free: 14.85 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.9616, allocations: 0 / 1.431 GB, free: 14.85 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9616, allocations: 0 / 1.431 GB, free: 14.85 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.9617, allocations: 0 / 1.431 GB, free: 14.85 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.002367/0.964, allocations: 1.456 MB / 1.432 GB, free: 13.69 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.9641, allocations: 10.06 kB / 1.432 GB, free: 13.69 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.9642, allocations: 132 kB / 1.432 GB, free: 13.58 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008995/0.9651, allocations: 186.4 kB / 1.433 GB, free: 13.49 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.9662, allocations: 0.7639 MB / 1.433 GB, free: 12.86 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.9662, allocations: 68.33 kB / 1.433 GB, free: 12.83 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.9664, allocations: 80.56 kB / 1.434 GB, free: 12.8 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.9677, allocations: 0.902 MB / 1.434 GB, free: 12.21 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.9678, allocations: 3.938 kB / 1.434 GB, free: 12.21 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.36e-05/0.9678, allocations: 37.41 kB / 1.434 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.9679, allocations: 20.62 kB / 1.434 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.9695, allocations: 1.096 MB / 1.436 GB, free: 11.66 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.003642/0.9732, allocations: 2.647 MB / 1.438 GB, free: 9.531 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.9746, allocations: 0.832 MB / 1.439 GB, free: 8.832 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.9751, allocations: 278.6 kB / 1.439 GB, free: 8.559 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.9751, allocations: 28.56 kB / 1.439 GB, free: 8.531 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007929/0.9759, allocations: 488.7 kB / 1.44 GB, free: 8.035 MB / 1.123 GB Notification: Performance of pre-optimization done (n=79): time 1.813e-06/0.9759, allocations: 0 / 1.44 GB, free: 8.035 MB / 1.123 GB Notification: Performance of matching and sorting (n=79): time 0.002973/0.9789, allocations: 1.19 MB / 1.441 GB, free: 6.82 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.979, allocations: 196.6 kB / 1.441 GB, free: 6.586 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007187/0.9797, allocations: 0.6215 MB / 1.442 GB, free: 5.961 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.9798, allocations: 41.7 kB / 1.442 GB, free: 5.914 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.9801, allocations: 396.9 kB / 1.442 GB, free: 5.52 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.9803, allocations: 273.7 kB / 1.442 GB, free: 5.25 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.9806, allocations: 142.6 kB / 1.442 GB, free: 5.105 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.9807, allocations: 386.7 kB / 1.443 GB, free: 4.719 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.9812, allocations: 245.9 kB / 1.443 GB, free: 4.477 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.9818, allocations: 354.5 kB / 1.443 GB, free: 4.105 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.9828, allocations: 0.5799 MB / 1.444 GB, free: 3.516 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9828, allocations: 0 / 1.444 GB, free: 3.516 MB / 1.123 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001741/0.9846, allocations: 0.7985 MB / 1.445 GB, free: 2.707 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.9846, allocations: 4 kB / 1.445 GB, free: 2.703 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9846, allocations: 0 / 1.445 GB, free: 2.703 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005558/0.9852, allocations: 76.88 kB / 1.445 GB, free: 2.625 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.9857, allocations: 155.7 kB / 1.445 GB, free: 2.473 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.9878, allocations: 1.633 MB / 1.447 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/0.9884, allocations: 87.55 kB / 1.447 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.9884, allocations: 40.02 kB / 1.447 GB, free: 0.5703 MB / 1.123 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.0003569/0.9888, allocations: 263.1 kB / 1.447 GB, free: 312 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.9889, allocations: 87.44 kB / 1.447 GB, free: 224 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.9912, allocations: 1.054 MB / 1.448 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.9912, allocations: 12 kB / 1.448 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.9912, allocations: 0 / 1.448 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.9912, allocations: 7.922 kB / 1.448 GB, free: 15.12 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.9942, allocations: 1.9 MB / 1.45 GB, free: 13.17 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.9943, allocations: 4 kB / 1.45 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.9948, allocations: 143.8 kB / 1.45 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/0.9952, allocations: 68.78 kB / 1.45 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/0.9953, allocations: 23.98 kB / 1.45 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.9971, allocations: 1.674 MB / 1.452 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9971, allocations: 7.922 kB / 1.452 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.999, allocations: 0.9867 MB / 1.453 GB, free: 10.09 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.9993, allocations: 276.2 kB / 1.453 GB, free: 9.805 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.9994, allocations: 20 kB / 1.453 GB, free: 9.785 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/1, allocations: 63.92 kB / 1.453 GB, free: 9.723 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1, allocations: 64.91 kB / 1.453 GB, free: 9.66 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/1, allocations: 39.97 kB / 1.453 GB, free: 9.621 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005254/1.001, allocations: 451 kB / 1.454 GB, free: 9.184 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.001, allocations: 8 kB / 1.454 GB, free: 9.176 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007725/1.002, allocations: 315.2 kB / 1.454 GB, free: 8.867 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.003809/1.005, allocations: 2.026 MB / 1.456 GB, free: 6.996 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001468/1.007, allocations: 0.7726 MB / 1.457 GB, free: 6.211 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.007, allocations: 0 / 1.457 GB, free: 6.211 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008558/1.008, allocations: 492.4 kB / 1.457 GB, free: 5.719 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/1.009, allocations: 300.2 kB / 1.457 GB, free: 5.449 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009229/1.018, allocations: 6.155 MB / 1.463 GB, free: 15.18 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/1.019, allocations: 1.014 MB / 1.464 GB, free: 14.14 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00065/1.019, allocations: 266.5 kB / 1.465 GB, free: 13.87 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/1.02, allocations: 375.2 kB / 1.465 GB, free: 13.5 MB / 1.154 GB Notification: Performance of SimCode: time 4.51e-07/1.02, allocations: 4 kB / 1.465 GB, free: 13.5 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05403/1.074, allocations: 21.46 MB / 1.486 GB, free: 8.27 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.81, allocations: 5.562 kB / 1.486 GB, free: 8.266 MB / 1.17 GB " [Timeout remaining time 287] (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 --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: 18.304059541000242]