Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001636/0.001636, 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.001928/0.001928, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.442/1.442, allocations: 230.6 MB / 256.8 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.166/3.166, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001951/0.001951, allocations: 67.41 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3448, allocations: 179 MB / 1.345 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008315/0.3531, allocations: 6.056 MB / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1874/0.5405, allocations: 154.4 MB / 1.502 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.5419, allocations: 27.75 kB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.543, allocations: 245.7 kB / 1.502 GB, free: 15.18 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.5456, allocations: 0.6443 MB / 1.503 GB, free: 14.54 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.5484, allocations: 0.9165 MB / 1.504 GB, free: 13.63 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002748/0.5511, allocations: 1.665 MB / 1.505 GB, free: 11.96 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.5527, allocations: 0.6128 MB / 1.506 GB, free: 11.3 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.5545, allocations: 0.6346 MB / 1.507 GB, free: 10.67 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.5561, allocations: 0.6767 MB / 1.507 GB, free: 9.988 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0005259/0.5567, allocations: 156 kB / 1.507 GB, free: 9.836 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.5584, allocations: 0.5464 MB / 1.508 GB, free: 9.289 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005566/0.5589, allocations: 386.8 kB / 1.508 GB, free: 8.91 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.5601, allocations: 0.7385 MB / 1.509 GB, free: 8.168 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.5637, allocations: 2.093 MB / 1.511 GB, free: 6.066 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5637, allocations: 0 / 1.511 GB, free: 6.066 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5637, allocations: 0 / 1.511 GB, free: 6.066 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.445e-05/0.5638, allocations: 0 / 1.511 GB, free: 6.066 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004383/0.5682, allocations: 1.714 MB / 1.513 GB, free: 4.316 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.5682, allocations: 16.02 kB / 1.513 GB, free: 4.301 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.591e-05/0.5683, allocations: 34.59 kB / 1.513 GB, free: 4.266 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003377/0.5686, allocations: 181.8 kB / 1.513 GB, free: 4.078 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.5703, allocations: 275.8 kB / 1.513 GB, free: 3.809 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.5721, allocations: 0.8153 MB / 1.514 GB, free: 2.965 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.271e-05/0.5722, allocations: 94.38 kB / 1.514 GB, free: 2.871 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.5724, allocations: 120 kB / 1.514 GB, free: 2.754 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.575, allocations: 1.198 MB / 1.515 GB, free: 1.492 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.575, allocations: 0 / 1.515 GB, free: 1.492 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.5751, allocations: 52 kB / 1.515 GB, free: 1.441 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/0.5752, allocations: 28 kB / 1.515 GB, free: 1.414 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.5777, allocations: 1.289 MB / 1.517 GB, free: 120 kB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006718/0.5844, allocations: 3.652 MB / 1.52 GB, free: 12.25 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.5863, allocations: 0.8241 MB / 1.521 GB, free: 11.43 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/0.5871, allocations: 294.6 kB / 1.521 GB, free: 11.13 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.15e-05/0.5871, allocations: 36.59 kB / 1.521 GB, free: 11.1 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.5882, allocations: 0.5198 MB / 1.522 GB, free: 10.56 MB / 1.217 GB Notification: Performance of pre-optimization done (n=87): time 3.386e-06/0.5882, allocations: 0 / 1.522 GB, free: 10.56 MB / 1.217 GB Notification: Performance of matching and sorting (n=87): time 0.003676/0.5919, allocations: 1.213 MB / 1.523 GB, free: 9.34 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.5921, allocations: 200.8 kB / 1.523 GB, free: 9.102 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.5935, allocations: 0.7551 MB / 1.524 GB, free: 8.336 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.5936, allocations: 41.7 kB / 1.524 GB, free: 8.289 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/0.5942, allocations: 0.5398 MB / 1.525 GB, free: 7.742 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.5946, allocations: 293.5 kB / 1.525 GB, free: 7.453 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/0.5949, allocations: 162.6 kB / 1.525 GB, free: 7.289 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.5951, allocations: 334 kB / 1.525 GB, free: 6.957 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/0.5957, allocations: 269.8 kB / 1.526 GB, free: 6.691 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.5964, allocations: 386.5 kB / 1.526 GB, free: 6.289 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.5978, allocations: 0.6359 MB / 1.527 GB, free: 5.641 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5978, allocations: 0 / 1.527 GB, free: 5.641 MB / 1.217 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002313/0.6001, allocations: 0.8881 MB / 1.527 GB, free: 4.746 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6001, allocations: 4 kB / 1.527 GB, free: 4.742 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6001, allocations: 0 / 1.527 GB, free: 4.742 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/0.6007, allocations: 76.88 kB / 1.528 GB, free: 4.664 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/0.6014, allocations: 167.8 kB / 1.528 GB, free: 4.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.6039, allocations: 1.523 MB / 1.529 GB, free: 2.855 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/0.6049, allocations: 111.5 kB / 1.529 GB, free: 2.746 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/0.605, allocations: 31.98 kB / 1.529 GB, free: 2.715 MB / 1.217 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 (96): * Single equations (assignments): 95 * 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.0006524/0.6056, allocations: 289.7 kB / 1.53 GB, free: 2.422 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.6059, allocations: 107.3 kB / 1.53 GB, free: 2.316 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.6086, allocations: 1.126 MB / 1.531 GB, free: 1.176 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.6086, allocations: 11.94 kB / 1.531 GB, free: 1.164 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6086, allocations: 0 / 1.531 GB, free: 1.164 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.6087, allocations: 7.969 kB / 1.531 GB, free: 1.156 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.6104, allocations: 1.043 MB / 1.532 GB, free: 72 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.6104, allocations: 0 / 1.532 GB, free: 72 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.611, allocations: 147.8 kB / 1.532 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.6115, allocations: 84.66 kB / 1.532 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.564e-05/0.6116, allocations: 23.98 kB / 1.532 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.6139, allocations: 1.555 MB / 1.534 GB, free: 14.13 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6139, allocations: 0 / 1.534 GB, free: 14.13 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.6165, allocations: 0.9946 MB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000706/0.6172, allocations: 222.9 kB / 1.535 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.6174, allocations: 27.92 kB / 1.535 GB, free: 12.88 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/0.6182, allocations: 63.94 kB / 1.535 GB, free: 12.82 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.6183, allocations: 80.84 kB / 1.535 GB, free: 12.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.649e-05/0.6184, allocations: 36.05 kB / 1.535 GB, free: 12.7 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009189/0.6193, allocations: 0.5342 MB / 1.536 GB, free: 12.17 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6193, allocations: 0 / 1.536 GB, free: 12.17 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001298/0.6206, allocations: 386.9 kB / 1.536 GB, free: 11.79 MB / 1.232 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.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 (98): * Single equations (assignments): 92 * 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.005018/0.6257, allocations: 2.047 MB / 1.538 GB, free: 9.895 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002413/0.6281, allocations: 0.8274 MB / 1.539 GB, free: 9.055 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6281, allocations: 3.938 kB / 1.539 GB, free: 9.051 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.6292, allocations: 0.5158 MB / 1.539 GB, free: 8.523 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.6311, allocations: 332.3 kB / 1.54 GB, free: 8.219 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.6464, allocations: 7.14 MB / 1.547 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.6474, allocations: 1.114 MB / 1.548 GB, free: 15.79 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001069/0.6485, allocations: 275.7 kB / 1.548 GB, free: 15.52 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/0.6494, allocations: 495.2 kB / 1.548 GB, free: 15.03 MB / 1.248 GB Notification: Performance of SimCode: time 1.042e-06/0.6494, allocations: 0 / 1.548 GB, free: 15.03 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06661/0.716, allocations: 25.2 MB / 1.573 GB, free: 6.055 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.24, allocations: 1.875 kB / 1.573 GB, free: 6.055 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.298364754009526]