Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.00131/0.00131, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001705/0.001705, allocations: 210.2 kB / 22.25 MB, free: 5.133 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.984 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.221/3.221, allocations: 0.49 GB / 0.7951 GB, free: 33.52 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.WallSolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.002094/0.002094, allocations: 70.7 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 176.1 MB / 1.326 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00805/0.3415, allocations: 5.45 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.529, allocations: 154.3 MB / 1.482 GB, free: 1.605 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.5301, allocations: 27.81 kB / 1.482 GB, free: 1.578 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009562/0.531, allocations: 210 kB / 1.482 GB, free: 1.371 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.5337, allocations: 0.6254 MB / 1.483 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.5362, allocations: 0.9267 MB / 1.484 GB, free: 15.83 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002487/0.5387, allocations: 1.584 MB / 1.485 GB, free: 14.24 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.5399, allocations: 480.9 kB / 1.486 GB, free: 13.74 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.5411, allocations: 0.5957 MB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.5421, allocations: 0.6029 MB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.5425, allocations: 140 kB / 1.487 GB, free: 12.4 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.5439, allocations: 0.5542 MB / 1.488 GB, free: 11.85 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004875/0.5444, allocations: 342.9 kB / 1.488 GB, free: 11.51 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.5455, allocations: 0.6569 MB / 1.488 GB, free: 10.85 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.5489, allocations: 1.914 MB / 1.49 GB, free: 8.93 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5489, allocations: 0 / 1.49 GB, free: 8.93 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5489, allocations: 0 / 1.49 GB, free: 8.93 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.253e-05/0.549, allocations: 0 / 1.49 GB, free: 8.93 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.004255/0.5532, allocations: 1.577 MB / 1.492 GB, free: 7.309 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.5533, allocations: 12.03 kB / 1.492 GB, free: 7.297 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003294/0.5536, allocations: 152.5 kB / 1.492 GB, free: 7.141 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.5558, allocations: 291.9 kB / 1.492 GB, free: 6.855 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.5577, allocations: 0.7724 MB / 1.493 GB, free: 6.055 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/0.5578, allocations: 74.02 kB / 1.493 GB, free: 5.98 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.558, allocations: 96 kB / 1.493 GB, free: 5.887 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/0.5604, allocations: 1.071 MB / 1.494 GB, free: 4.75 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.5604, allocations: 0 / 1.494 GB, free: 4.75 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.5606, allocations: 44 kB / 1.494 GB, free: 4.707 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.5606, allocations: 24 kB / 1.494 GB, free: 4.684 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.5629, allocations: 1.221 MB / 1.496 GB, free: 3.457 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006089/0.569, allocations: 3.219 MB / 1.499 GB, free: 88 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.5708, allocations: 0.8434 MB / 1.5 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/0.5714, allocations: 315.6 kB / 1.5 GB, free: 14.92 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.5715, allocations: 37.02 kB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.5726, allocations: 0.5514 MB / 1.5 GB, free: 14.32 MB / 1.201 GB Notification: Performance of pre-optimization done (n=92): time 2.425e-06/0.5726, allocations: 0 / 1.5 GB, free: 14.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=92): time 0.00377/0.5764, allocations: 1.274 MB / 1.502 GB, free: 13.04 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.5765, allocations: 196.9 kB / 1.502 GB, free: 12.8 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5776, allocations: 0.7 MB / 1.503 GB, free: 12.09 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.5778, allocations: 41.7 kB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.5782, allocations: 465.1 kB / 1.503 GB, free: 11.59 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.5786, allocations: 313.3 kB / 1.503 GB, free: 11.28 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/0.5789, allocations: 166.6 kB / 1.503 GB, free: 11.11 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5791, allocations: 338 kB / 1.504 GB, free: 10.77 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/0.5797, allocations: 289.8 kB / 1.504 GB, free: 10.49 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000778/0.5805, allocations: 402.5 kB / 1.504 GB, free: 10.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.5819, allocations: 0.6633 MB / 1.505 GB, free: 9.395 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5819, allocations: 4 kB / 1.505 GB, free: 9.391 MB / 1.201 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002433/0.5843, allocations: 0.9077 MB / 1.506 GB, free: 8.473 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.5843, allocations: 4 kB / 1.506 GB, free: 8.469 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5843, allocations: 8.156 kB / 1.506 GB, free: 8.461 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.585, allocations: 88.7 kB / 1.506 GB, free: 8.371 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.5857, allocations: 171.8 kB / 1.506 GB, free: 8.203 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.5882, allocations: 1.535 MB / 1.508 GB, free: 6.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/0.5891, allocations: 111.4 kB / 1.508 GB, free: 6.441 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.5893, allocations: 31.97 kB / 1.508 GB, free: 6.41 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,incAng.decAng.tNext,$PRE.incAng.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 (101): * Single equations (assignments): 100 * 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.0006839/0.5899, allocations: 287.4 kB / 1.508 GB, free: 6.121 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.5903, allocations: 95.39 kB / 1.508 GB, free: 6.027 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.5933, allocations: 1.235 MB / 1.509 GB, free: 4.781 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.5933, allocations: 12 kB / 1.509 GB, free: 4.77 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5933, allocations: 0 / 1.509 GB, free: 4.77 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.5933, allocations: 3.984 kB / 1.509 GB, free: 4.766 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.595, allocations: 1.008 MB / 1.51 GB, free: 3.715 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.595, allocations: 0 / 1.51 GB, free: 3.715 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007305/0.5958, allocations: 163.8 kB / 1.511 GB, free: 3.555 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004802/0.5962, allocations: 72.73 kB / 1.511 GB, free: 3.48 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.5964, allocations: 35.97 kB / 1.511 GB, free: 3.445 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.5985, allocations: 1.555 MB / 1.512 GB, free: 1.766 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5985, allocations: 0 / 1.512 GB, free: 1.766 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.6013, allocations: 1.045 MB / 1.513 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000721/0.602, allocations: 230.9 kB / 1.513 GB, free: 484 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.6023, allocations: 24 kB / 1.513 GB, free: 460 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008266/0.6032, allocations: 75.98 kB / 1.514 GB, free: 384 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.6034, allocations: 84.83 kB / 1.514 GB, free: 300 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-05/0.6035, allocations: 39.98 kB / 1.514 GB, free: 260 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009011/0.6044, allocations: 0.5108 MB / 1.514 GB, free: 15.74 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6044, allocations: 0 / 1.514 GB, free: 15.74 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00114/0.6055, allocations: 375 kB / 1.515 GB, free: 15.38 MB / 1.217 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * 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.004862/0.6104, allocations: 2.134 MB / 1.517 GB, free: 13.39 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.6124, allocations: 0.8664 MB / 1.517 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6124, allocations: 0 / 1.517 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.6135, allocations: 0.5431 MB / 1.518 GB, free: 11.96 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.615, allocations: 323.3 kB / 1.518 GB, free: 11.67 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.6282, allocations: 6.919 MB / 1.525 GB, free: 4.602 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/0.629, allocations: 1.079 MB / 1.526 GB, free: 3.492 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001017/0.63, allocations: 295.6 kB / 1.526 GB, free: 3.199 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007541/0.6308, allocations: 451.2 kB / 1.527 GB, free: 2.758 MB / 1.217 GB Notification: Performance of SimCode: time 7.81e-07/0.6308, allocations: 0 / 1.527 GB, free: 2.758 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07149/0.7023, allocations: 25.14 MB / 1.551 GB, free: 9.863 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.82, allocations: 3.984 kB / 1.551 GB, free: 9.859 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.77720842906274]