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.002014/0.002014, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002517/0.002517, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.98 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.202/3.202, allocations: 0.505 GB / 0.8101 GB, free: 21.98 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001959/0.001959, allocations: 67.12 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3739, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008542/0.3825, allocations: 6.062 MB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1961/0.5785, allocations: 154.4 MB / 1.509 GB, free: 7.398 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.5799, allocations: 23.81 kB / 1.51 GB, free: 7.375 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.581, allocations: 237.7 kB / 1.51 GB, free: 7.141 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.5838, allocations: 0.6608 MB / 1.51 GB, free: 6.48 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.5866, allocations: 0.9106 MB / 1.511 GB, free: 5.574 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.5891, allocations: 1.669 MB / 1.513 GB, free: 3.898 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.5903, allocations: 0.6089 MB / 1.514 GB, free: 3.25 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.5915, allocations: 0.6385 MB / 1.514 GB, free: 2.609 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.5927, allocations: 0.6781 MB / 1.515 GB, free: 1.93 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000431/0.5931, allocations: 156 kB / 1.515 GB, free: 1.777 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.5946, allocations: 0.5426 MB / 1.515 GB, free: 1.234 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005818/0.5952, allocations: 382.7 kB / 1.516 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.5964, allocations: 0.7424 MB / 1.517 GB, free: 116 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00299/0.5994, allocations: 2.093 MB / 1.519 GB, free: 14.01 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5994, allocations: 0 / 1.519 GB, free: 14.01 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5994, allocations: 0 / 1.519 GB, free: 14.01 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.607e-05/0.5994, allocations: 0 / 1.519 GB, free: 14.01 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003215/0.6026, allocations: 1.725 MB / 1.52 GB, free: 12.25 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.6027, allocations: 8.031 kB / 1.52 GB, free: 12.24 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.6029, allocations: 181.8 kB / 1.52 GB, free: 12.05 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.6045, allocations: 275.7 kB / 1.521 GB, free: 11.78 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.606, allocations: 0.8155 MB / 1.522 GB, free: 10.93 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.6061, allocations: 94.41 kB / 1.522 GB, free: 10.84 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.6063, allocations: 112 kB / 1.522 GB, free: 10.73 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.6083, allocations: 1.21 MB / 1.523 GB, free: 9.457 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.6084, allocations: 0 / 1.523 GB, free: 9.457 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.6085, allocations: 52 kB / 1.523 GB, free: 9.406 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.6085, allocations: 35.98 kB / 1.523 GB, free: 9.371 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.6106, allocations: 1.285 MB / 1.524 GB, free: 8.078 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005591/0.6162, allocations: 3.647 MB / 1.528 GB, free: 4.227 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.6178, allocations: 0.8279 MB / 1.529 GB, free: 3.395 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.6184, allocations: 298.7 kB / 1.529 GB, free: 3.098 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.525e-05/0.6185, allocations: 28.61 kB / 1.529 GB, free: 3.07 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009608/0.6194, allocations: 0.5159 MB / 1.529 GB, free: 2.539 MB / 1.217 GB Notification: Performance of pre-optimization done (n=87): time 1.994e-06/0.6194, allocations: 0 / 1.529 GB, free: 2.539 MB / 1.217 GB Notification: Performance of matching and sorting (n=87): time 0.003466/0.6229, allocations: 1.22 MB / 1.531 GB, free: 1.316 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.623, allocations: 192.9 kB / 1.531 GB, free: 1.082 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6241, allocations: 0.7589 MB / 1.532 GB, free: 320 kB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-05/0.6242, allocations: 45.7 kB / 1.532 GB, free: 268 kB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/0.6247, allocations: 0.5321 MB / 1.532 GB, free: 15.72 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.625, allocations: 293.4 kB / 1.532 GB, free: 15.43 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.6252, allocations: 158.6 kB / 1.533 GB, free: 15.27 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6254, allocations: 341.9 kB / 1.533 GB, free: 14.93 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.6259, allocations: 273.9 kB / 1.533 GB, free: 14.67 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/0.6266, allocations: 382.5 kB / 1.533 GB, free: 14.27 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.6278, allocations: 0.6359 MB / 1.534 GB, free: 13.62 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6278, allocations: 0 / 1.534 GB, free: 13.62 MB / 1.232 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002116/0.6299, allocations: 0.8765 MB / 1.535 GB, free: 12.73 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.6299, allocations: 11.94 kB / 1.535 GB, free: 12.72 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.6299, allocations: 0 / 1.535 GB, free: 12.72 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/0.6306, allocations: 84.81 kB / 1.535 GB, free: 12.63 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/0.6313, allocations: 167.8 kB / 1.535 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.6335, allocations: 1.526 MB / 1.537 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008541/0.6344, allocations: 111.5 kB / 1.537 GB, free: 10.72 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.6344, allocations: 31.98 kB / 1.537 GB, free: 10.69 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: 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.0006027/0.635, allocations: 301.7 kB / 1.537 GB, free: 10.38 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.6353, allocations: 103.5 kB / 1.537 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.6378, allocations: 1.13 MB / 1.538 GB, free: 9.141 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.6378, allocations: 12 kB / 1.538 GB, free: 9.129 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6378, allocations: 3.984 kB / 1.538 GB, free: 9.125 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6378, allocations: 3.984 kB / 1.538 GB, free: 9.121 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.6392, allocations: 1.035 MB / 1.539 GB, free: 8.043 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6393, allocations: 0 / 1.539 GB, free: 8.043 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/0.6399, allocations: 155.8 kB / 1.54 GB, free: 7.891 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/0.6404, allocations: 68.78 kB / 1.54 GB, free: 7.82 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.6404, allocations: 27.92 kB / 1.54 GB, free: 7.793 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.6425, allocations: 1.566 MB / 1.541 GB, free: 6.102 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6425, allocations: 0 / 1.541 GB, free: 6.102 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.6447, allocations: 0.9868 MB / 1.542 GB, free: 5.094 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.6452, allocations: 226.9 kB / 1.542 GB, free: 4.871 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.6454, allocations: 31.92 kB / 1.542 GB, free: 4.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.646, allocations: 61.75 kB / 1.542 GB, free: 4.781 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.6462, allocations: 76.84 kB / 1.542 GB, free: 4.707 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.6463, allocations: 35.98 kB / 1.543 GB, free: 4.672 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008288/0.6471, allocations: 0.5342 MB / 1.543 GB, free: 4.141 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6471, allocations: 4 kB / 1.543 GB, free: 4.137 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001008/0.6481, allocations: 386.9 kB / 1.543 GB, free: 3.758 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.004456/0.6526, allocations: 2.046 MB / 1.545 GB, free: 1.855 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.6545, allocations: 0.8312 MB / 1.546 GB, free: 1.012 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6545, allocations: 0 / 1.546 GB, free: 1.012 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.6556, allocations: 0.512 MB / 1.547 GB, free: 500 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.6569, allocations: 326.8 kB / 1.547 GB, free: 196 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.6694, allocations: 7.143 MB / 1.554 GB, free: 8.898 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/0.6702, allocations: 1.114 MB / 1.555 GB, free: 7.758 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009409/0.6711, allocations: 287.7 kB / 1.555 GB, free: 7.473 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007166/0.6718, allocations: 487.2 kB / 1.556 GB, free: 6.996 MB / 1.248 GB Notification: Performance of SimCode: time 8.42e-07/0.6718, allocations: 0 / 1.556 GB, free: 6.996 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06811/0.7399, allocations: 25.16 MB / 1.58 GB, free: 14.05 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.15, allocations: 15.03 kB / 1.58 GB, free: 14.04 MB / 1.279 GB " [Timeout remaining time 285] (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.18273608898744]