Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001731/0.001731, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002247/0.002247, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.322/3.322, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_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.002052/0.002052, allocations: 66.75 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3554, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.008099/0.3635, allocations: 5.462 MB / 1.358 GB, free: 2.957 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.191/0.5545, allocations: 154.3 MB / 1.509 GB, free: 8.051 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.5557, allocations: 23.81 kB / 1.509 GB, free: 8.027 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.5567, allocations: 218 kB / 1.509 GB, free: 7.812 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.5593, allocations: 0.6313 MB / 1.51 GB, free: 7.184 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.562, allocations: 0.9233 MB / 1.511 GB, free: 6.266 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002527/0.5645, allocations: 1.584 MB / 1.512 GB, free: 4.672 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.5657, allocations: 480.9 kB / 1.513 GB, free: 4.176 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.5668, allocations: 0.5918 MB / 1.513 GB, free: 3.582 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.5679, allocations: 0.6029 MB / 1.514 GB, free: 2.977 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000372/0.5683, allocations: 139.9 kB / 1.514 GB, free: 2.84 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.5697, allocations: 0.5542 MB / 1.514 GB, free: 2.285 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004741/0.5702, allocations: 342.9 kB / 1.515 GB, free: 1.949 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.5712, allocations: 0.6569 MB / 1.515 GB, free: 1.289 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.5745, allocations: 1.915 MB / 1.517 GB, free: 15.36 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5745, allocations: 4 kB / 1.517 GB, free: 15.36 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5745, allocations: 0 / 1.517 GB, free: 15.36 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.366e-05/0.5745, allocations: 0 / 1.517 GB, free: 15.36 MB / 1.217 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.00327/0.5778, allocations: 1.577 MB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5778, allocations: 12.03 kB / 1.519 GB, free: 13.73 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/0.578, allocations: 156.5 kB / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00877/0.5868, allocations: 0.8974 MB / 1.52 GB, free: 12.68 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.5888, allocations: 0.7802 MB / 1.521 GB, free: 11.86 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.5889, allocations: 74.02 kB / 1.521 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.5891, allocations: 104 kB / 1.521 GB, free: 11.69 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004089/0.5932, allocations: 1.348 MB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.5932, allocations: 7.938 kB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.5933, allocations: 40 kB / 1.522 GB, free: 10.23 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.5933, allocations: 24 kB / 1.522 GB, free: 10.2 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005974/0.5993, allocations: 1.69 MB / 1.524 GB, free: 8.508 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007228/0.6065, allocations: 3.589 MB / 1.527 GB, free: 4.77 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007402/0.6139, allocations: 1.487 MB / 1.529 GB, free: 3.27 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002595/0.6165, allocations: 0.5385 MB / 1.529 GB, free: 2.727 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/0.6166, allocations: 37.02 kB / 1.529 GB, free: 2.691 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003027/0.6196, allocations: 0.8282 MB / 1.53 GB, free: 1.844 MB / 1.217 GB Notification: Performance of pre-optimization done (n=92): time 2.956e-06/0.6196, allocations: 0 / 1.53 GB, free: 1.844 MB / 1.217 GB Notification: Performance of matching and sorting (n=92): time 0.009451/0.6291, allocations: 1.937 MB / 1.532 GB, free: 15.9 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.6293, allocations: 200.8 kB / 1.532 GB, free: 15.66 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.6305, allocations: 0.7038 MB / 1.533 GB, free: 14.95 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.6306, allocations: 45.7 kB / 1.533 GB, free: 14.9 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000601/0.6312, allocations: 465.1 kB / 1.533 GB, free: 14.44 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/0.6316, allocations: 309.4 kB / 1.534 GB, free: 14.13 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.632, allocations: 186.5 kB / 1.534 GB, free: 13.94 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6321, allocations: 338 kB / 1.534 GB, free: 13.61 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002539/0.6347, allocations: 0.5093 MB / 1.535 GB, free: 13.1 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/0.6373, allocations: 0.6272 MB / 1.535 GB, free: 12.45 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004809/0.6421, allocations: 1.053 MB / 1.536 GB, free: 11.38 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6421, allocations: 0 / 1.536 GB, free: 11.38 MB / 1.232 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00624/0.6484, allocations: 1.352 MB / 1.538 GB, free: 10.02 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6484, allocations: 8.062 kB / 1.538 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.6484, allocations: 4 kB / 1.538 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/0.649, allocations: 84.77 kB / 1.538 GB, free: 9.922 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.6508, allocations: 263.6 kB / 1.538 GB, free: 9.664 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.6533, allocations: 1.535 MB / 1.54 GB, free: 8.008 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.6551, allocations: 191.3 kB / 1.54 GB, free: 7.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.6552, allocations: 39.95 kB / 1.54 GB, free: 7.781 MB / 1.232 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.0006021/0.6558, allocations: 284.5 kB / 1.54 GB, free: 7.496 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/0.6561, allocations: 95.39 kB / 1.54 GB, free: 7.402 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007306/0.6634, allocations: 1.823 MB / 1.542 GB, free: 5.562 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.6634, allocations: 12 kB / 1.542 GB, free: 5.551 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6634, allocations: 4 kB / 1.542 GB, free: 5.547 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.6634, allocations: 7.969 kB / 1.542 GB, free: 5.539 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.6651, allocations: 1.123 MB / 1.543 GB, free: 4.375 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6651, allocations: 0 / 1.543 GB, free: 4.375 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/0.6669, allocations: 267.6 kB / 1.543 GB, free: 4.113 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/0.6674, allocations: 68.8 kB / 1.543 GB, free: 4.043 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.6675, allocations: 39.95 kB / 1.543 GB, free: 4.004 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.6696, allocations: 1.555 MB / 1.545 GB, free: 2.328 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6696, allocations: 0 / 1.545 GB, free: 2.328 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006253/0.6758, allocations: 1.49 MB / 1.546 GB, free: 0.8203 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007328/0.6766, allocations: 234.9 kB / 1.547 GB, free: 0.5898 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.6768, allocations: 23.98 kB / 1.547 GB, free: 0.5664 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.6784, allocations: 157.7 kB / 1.547 GB, free: 424 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.6786, allocations: 80.84 kB / 1.547 GB, free: 344 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.6787, allocations: 48.02 kB / 1.547 GB, free: 296 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008327/0.6795, allocations: 0.5186 MB / 1.547 GB, free: 15.77 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.6795, allocations: 0 / 1.547 GB, free: 15.77 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001079/0.6806, allocations: 371.1 kB / 1.548 GB, free: 15.41 MB / 1.248 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 (105): * Single equations (assignments): 98 * 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.008516/0.6891, allocations: 2.539 MB / 1.55 GB, free: 13.02 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006046/0.6952, allocations: 1.342 MB / 1.552 GB, free: 11.66 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.6952, allocations: 0 / 1.552 GB, free: 11.66 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00324/0.6984, allocations: 0.7695 MB / 1.552 GB, free: 10.88 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.6999, allocations: 319.5 kB / 1.553 GB, free: 10.59 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/0.7247, allocations: 8.308 MB / 1.561 GB, free: 2.125 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008664/0.7255, allocations: 1.075 MB / 1.562 GB, free: 1.02 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001652/0.7272, allocations: 383.4 kB / 1.562 GB, free: 0.6406 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009528/0.7281, allocations: 459.2 kB / 1.563 GB, free: 200 kB / 1.248 GB Notification: Performance of SimCode: time 2.054e-06/0.7281, allocations: 0 / 1.563 GB, free: 200 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0794/0.8075, allocations: 26.59 MB / 1.589 GB, free: 5.824 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.27, allocations: 6.938 kB / 1.589 GB, free: 5.82 MB / 1.279 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.404665011912584]