Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001843/0.001843, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002192/0.002192, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.138/3.138, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] 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.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001969/0.001969, allocations: 76.97 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3397, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007534/0.3473, allocations: 4.978 MB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.5348, allocations: 154 MB / 1.476 GB, free: 3.73 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.5359, allocations: 27.81 kB / 1.476 GB, free: 3.703 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008429/0.5368, allocations: 198.1 kB / 1.476 GB, free: 3.508 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.5392, allocations: 0.5735 MB / 1.477 GB, free: 2.934 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.5417, allocations: 0.8716 MB / 1.478 GB, free: 2.066 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002233/0.5439, allocations: 1.452 MB / 1.479 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.5449, allocations: 430.3 kB / 1.48 GB, free: 168 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009949/0.5459, allocations: 0.5255 MB / 1.48 GB, free: 15.64 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008802/0.5468, allocations: 0.529 MB / 1.481 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.5471, allocations: 120 kB / 1.481 GB, free: 14.99 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.5483, allocations: 0.5074 MB / 1.481 GB, free: 14.48 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.5487, allocations: 315 kB / 1.481 GB, free: 14.17 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008081/0.5495, allocations: 0.5752 MB / 1.482 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00309/0.5526, allocations: 1.72 MB / 1.484 GB, free: 11.87 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5526, allocations: 0 / 1.484 GB, free: 11.87 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5526, allocations: 3.938 kB / 1.484 GB, free: 11.86 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.965e-05/0.5527, allocations: 0 / 1.484 GB, free: 11.86 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003703/0.5564, allocations: 1.527 MB / 1.485 GB, free: 10.29 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.5564, allocations: 15.98 kB / 1.485 GB, free: 10.27 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002387/0.5567, allocations: 135.5 kB / 1.485 GB, free: 10.13 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.5585, allocations: 256 kB / 1.486 GB, free: 9.879 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.5601, allocations: 0.794 MB / 1.486 GB, free: 9.043 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.5601, allocations: 66 kB / 1.486 GB, free: 8.977 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.5603, allocations: 80 kB / 1.486 GB, free: 8.898 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.5622, allocations: 0.9456 MB / 1.487 GB, free: 7.914 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5622, allocations: 0 / 1.487 GB, free: 7.914 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.5623, allocations: 36 kB / 1.487 GB, free: 7.879 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.5623, allocations: 20 kB / 1.487 GB, free: 7.859 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.5644, allocations: 1.124 MB / 1.489 GB, free: 6.73 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004778/0.5691, allocations: 2.798 MB / 1.491 GB, free: 3.805 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.5709, allocations: 0.8564 MB / 1.492 GB, free: 2.914 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/0.5715, allocations: 290.5 kB / 1.492 GB, free: 2.633 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.89e-05/0.5716, allocations: 36.67 kB / 1.492 GB, free: 2.598 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009786/0.5726, allocations: 0.5098 MB / 1.493 GB, free: 2.07 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 2.866e-06/0.5726, allocations: 4 kB / 1.493 GB, free: 2.066 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.003675/0.5762, allocations: 1.259 MB / 1.494 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.5764, allocations: 188.9 kB / 1.494 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.5775, allocations: 0.6685 MB / 1.495 GB, free: 15.88 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.5776, allocations: 41.7 kB / 1.495 GB, free: 15.84 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.578, allocations: 417 kB / 1.495 GB, free: 15.42 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.5784, allocations: 277.7 kB / 1.496 GB, free: 15.15 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.5786, allocations: 150.6 kB / 1.496 GB, free: 14.99 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.5789, allocations: 394.7 kB / 1.496 GB, free: 14.6 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/0.5795, allocations: 261.8 kB / 1.496 GB, free: 14.34 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/0.5802, allocations: 370.5 kB / 1.497 GB, free: 13.95 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.5815, allocations: 0.6047 MB / 1.497 GB, free: 13.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5815, allocations: 3.938 kB / 1.497 GB, free: 13.33 MB / 1.201 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002273/0.5838, allocations: 0.8336 MB / 1.498 GB, free: 12.49 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.5838, allocations: 7.938 kB / 1.498 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5838, allocations: 7.938 kB / 1.498 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/0.5844, allocations: 84.84 kB / 1.498 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/0.5852, allocations: 155.8 kB / 1.498 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.5877, allocations: 1.634 MB / 1.5 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009361/0.5886, allocations: 91.59 kB / 1.5 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.5888, allocations: 31.97 kB / 1.5 GB, free: 10.34 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: 18 (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 (91): * Single equations (assignments): 90 * 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.0006779/0.5894, allocations: 281.7 kB / 1.5 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.5898, allocations: 91.44 kB / 1.501 GB, free: 9.961 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/0.5927, allocations: 1.136 MB / 1.502 GB, free: 8.809 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.5927, allocations: 8 kB / 1.502 GB, free: 8.801 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5927, allocations: 4 kB / 1.502 GB, free: 8.797 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.5928, allocations: 3.984 kB / 1.502 GB, free: 8.793 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004279/0.597, allocations: 2.033 MB / 1.504 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.597, allocations: 0 / 1.504 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.5977, allocations: 155.8 kB / 1.504 GB, free: 6.543 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004704/0.5982, allocations: 80.77 kB / 1.504 GB, free: 6.461 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-05/0.5983, allocations: 27.92 kB / 1.504 GB, free: 6.434 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.6005, allocations: 1.65 MB / 1.506 GB, free: 4.637 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6005, allocations: 4.062 kB / 1.506 GB, free: 4.633 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.6031, allocations: 1.053 MB / 1.507 GB, free: 3.562 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/0.6037, allocations: 288.1 kB / 1.507 GB, free: 3.262 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.604, allocations: 20 kB / 1.507 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000837/0.6048, allocations: 63.92 kB / 1.507 GB, free: 3.18 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.605, allocations: 80.89 kB / 1.507 GB, free: 3.102 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.746e-05/0.6051, allocations: 39.97 kB / 1.507 GB, free: 3.062 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008621/0.606, allocations: 491 kB / 1.508 GB, free: 2.59 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.606, allocations: 0 / 1.508 GB, free: 2.59 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001186/0.6072, allocations: 331.1 kB / 1.508 GB, free: 2.266 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: 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 (99): * Single equations (assignments): 92 * 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.004864/0.612, allocations: 2.12 MB / 1.51 GB, free: 304 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.6141, allocations: 0.7999 MB / 1.511 GB, free: 15.48 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.6141, allocations: 0 / 1.511 GB, free: 15.48 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.6153, allocations: 0.5121 MB / 1.511 GB, free: 14.96 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.617, allocations: 304.7 kB / 1.511 GB, free: 14.68 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.6303, allocations: 6.475 MB / 1.518 GB, free: 8.055 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008172/0.6311, allocations: 1.04 MB / 1.519 GB, free: 6.984 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000996/0.6321, allocations: 275.1 kB / 1.519 GB, free: 6.711 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007564/0.6329, allocations: 419.3 kB / 1.519 GB, free: 6.301 MB / 1.217 GB Notification: Performance of SimCode: time 9.92e-07/0.6329, allocations: 0 / 1.519 GB, free: 6.301 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06573/0.6986, allocations: 22.64 MB / 1.542 GB, free: 15.95 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.31, allocations: 12.06 kB / 1.542 GB, free: 15.94 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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: 21.026122477836907]