Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001432/0.001432, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001941/0.001941, allocations: 217.9 kB / 23.05 MB, free: 5.074 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="cs",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.001958/0.001958, allocations: 69.09 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3505, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007024/0.3575, allocations: 4.888 MB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1861/0.5436, allocations: 154.1 MB / 1.482 GB, free: 2.375 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.5445, allocations: 23.81 kB / 1.482 GB, free: 2.352 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.5452, allocations: 190.3 kB / 1.482 GB, free: 2.164 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.5471, allocations: 0.567 MB / 1.483 GB, free: 1.598 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.5492, allocations: 0.8739 MB / 1.484 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001859/0.5511, allocations: 1.394 MB / 1.485 GB, free: 15.33 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007646/0.5519, allocations: 401.9 kB / 1.485 GB, free: 14.91 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007868/0.5526, allocations: 0.4983 MB / 1.486 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/0.5534, allocations: 0.5056 MB / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.5536, allocations: 116 kB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.5546, allocations: 0.5152 MB / 1.487 GB, free: 13.28 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.5549, allocations: 299 kB / 1.487 GB, free: 12.98 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005642/0.5555, allocations: 0.5519 MB / 1.488 GB, free: 12.43 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.5577, allocations: 1.665 MB / 1.489 GB, free: 10.76 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5577, allocations: 0 / 1.489 GB, free: 10.76 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5577, allocations: 0 / 1.489 GB, free: 10.76 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.474e-05/0.5578, allocations: 4 kB / 1.489 GB, free: 10.75 MB / 1.186 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.002978/0.5607, allocations: 1.403 MB / 1.491 GB, free: 9.316 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.5608, allocations: 19.97 kB / 1.491 GB, free: 9.297 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.534e-05/0.5608, allocations: 22.19 kB / 1.491 GB, free: 9.273 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.561, allocations: 131.3 kB / 1.491 GB, free: 9.137 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.5626, allocations: 228 kB / 1.491 GB, free: 8.914 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.564, allocations: 0.7062 MB / 1.492 GB, free: 8.18 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.5641, allocations: 69.88 kB / 1.492 GB, free: 8.113 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5642, allocations: 80 kB / 1.492 GB, free: 8.035 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.5659, allocations: 0.9028 MB / 1.493 GB, free: 7.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5659, allocations: 0 / 1.493 GB, free: 7.09 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-05/0.566, allocations: 32 kB / 1.493 GB, free: 7.059 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.5661, allocations: 20 kB / 1.493 GB, free: 7.039 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.5679, allocations: 1.1 MB / 1.494 GB, free: 5.941 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/0.5727, allocations: 2.654 MB / 1.496 GB, free: 3.156 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.5743, allocations: 0.7467 MB / 1.497 GB, free: 2.402 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/0.5748, allocations: 286.6 kB / 1.497 GB, free: 2.121 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.974e-05/0.5749, allocations: 28.61 kB / 1.498 GB, free: 2.094 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009266/0.5758, allocations: 499.4 kB / 1.498 GB, free: 1.586 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.284e-06/0.5758, allocations: 0 / 1.498 GB, free: 1.586 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003343/0.5792, allocations: 1.107 MB / 1.499 GB, free: 480 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.5793, allocations: 188.6 kB / 1.499 GB, free: 248 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009685/0.5803, allocations: 0.6527 MB / 1.5 GB, free: 15.58 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.5804, allocations: 41.7 kB / 1.5 GB, free: 15.53 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.5808, allocations: 401 kB / 1.5 GB, free: 15.13 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.5811, allocations: 277.5 kB / 1.501 GB, free: 14.86 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.5813, allocations: 142.6 kB / 1.501 GB, free: 14.72 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.5815, allocations: 398.6 kB / 1.501 GB, free: 14.32 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.5821, allocations: 245.9 kB / 1.501 GB, free: 14.08 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.5827, allocations: 350.6 kB / 1.502 GB, free: 13.71 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.5839, allocations: 0.5721 MB / 1.502 GB, free: 13.12 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5839, allocations: 0 / 1.502 GB, free: 13.12 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002107/0.586, allocations: 0.7985 MB / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.586, allocations: 4 kB / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.586, allocations: 8.094 kB / 1.503 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/0.5866, allocations: 76.78 kB / 1.503 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.5873, allocations: 155.7 kB / 1.503 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.5897, allocations: 1.539 MB / 1.505 GB, free: 10.42 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008282/0.5905, allocations: 79.58 kB / 1.505 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/0.5906, allocations: 31.98 kB / 1.505 GB, free: 10.31 MB / 1.201 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.0005295/0.5911, allocations: 267.2 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.5914, allocations: 87.44 kB / 1.505 GB, free: 9.953 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.5939, allocations: 1.05 MB / 1.506 GB, free: 8.887 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.5939, allocations: 12 kB / 1.506 GB, free: 8.875 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.594, allocations: 11.88 kB / 1.506 GB, free: 8.863 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.594, allocations: 3.984 kB / 1.506 GB, free: 8.859 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.5978, allocations: 1.891 MB / 1.508 GB, free: 6.918 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.5978, allocations: 3.984 kB / 1.508 GB, free: 6.914 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.5984, allocations: 143.8 kB / 1.508 GB, free: 6.773 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/0.5988, allocations: 76.77 kB / 1.508 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.5989, allocations: 27.97 kB / 1.508 GB, free: 6.668 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.601, allocations: 1.543 MB / 1.51 GB, free: 5 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.601, allocations: 4.062 kB / 1.51 GB, free: 4.996 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.6035, allocations: 0.9944 MB / 1.511 GB, free: 3.984 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005546/0.604, allocations: 195.1 kB / 1.511 GB, free: 3.793 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.6042, allocations: 23.98 kB / 1.511 GB, free: 3.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007325/0.6049, allocations: 61.62 kB / 1.511 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.6051, allocations: 80.8 kB / 1.511 GB, free: 3.629 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/0.6052, allocations: 31.98 kB / 1.511 GB, free: 3.598 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007091/0.6059, allocations: 475 kB / 1.512 GB, free: 3.137 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6059, allocations: 0 / 1.512 GB, free: 3.137 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009999/0.6069, allocations: 319.1 kB / 1.512 GB, free: 2.824 MB / 1.201 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.004568/0.6115, allocations: 2.051 MB / 1.514 GB, free: 0.9336 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002133/0.6136, allocations: 0.7609 MB / 1.515 GB, free: 160 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6136, allocations: 0 / 1.515 GB, free: 160 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.6148, allocations: 0.4886 MB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.6165, allocations: 305.1 kB / 1.515 GB, free: 15.38 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.6297, allocations: 6.226 MB / 1.522 GB, free: 9 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/0.6306, allocations: 1.021 MB / 1.523 GB, free: 7.957 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009892/0.6316, allocations: 262.7 kB / 1.523 GB, free: 7.695 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007101/0.6323, allocations: 387.3 kB / 1.523 GB, free: 7.316 MB / 1.217 GB Notification: Performance of SimCode: time 1.282e-06/0.6323, allocations: 0 / 1.523 GB, free: 7.316 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06328/0.6955, allocations: 22.27 MB / 1.545 GB, free: 1.293 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.14, allocations: 3.125 kB / 1.545 GB, free: 1.293 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.062850478978362]