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.001743/0.001743, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002401/0.002401, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.51/1.51, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.06/3.06, allocations: 0.5003 GB / 0.8026 GB, free: 6.793 MB / 0.6387 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.002099/0.002099, allocations: 67.89 kB / 1.165 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9733/0.9754, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006229/0.9816, allocations: 6.034 MB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2004/1.182, allocations: 154.2 MB / 1.497 GB, free: 7.23 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/1.184, allocations: 29.03 kB / 1.497 GB, free: 7.215 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/1.185, allocations: 243.7 kB / 1.497 GB, free: 7 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002891/1.188, allocations: 0.6429 MB / 1.497 GB, free: 6.508 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00308/1.191, allocations: 0.8945 MB / 1.498 GB, free: 5.824 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002742/1.193, allocations: 1.674 MB / 1.5 GB, free: 4.5 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/1.195, allocations: 0.6081 MB / 1.501 GB, free: 3.852 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/1.196, allocations: 0.6423 MB / 1.501 GB, free: 3.207 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/1.197, allocations: 0.6768 MB / 1.502 GB, free: 2.527 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003854/1.198, allocations: 159.9 kB / 1.502 GB, free: 2.371 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/1.199, allocations: 0.5464 MB / 1.503 GB, free: 1.824 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004836/1.199, allocations: 378.8 kB / 1.503 GB, free: 1.453 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/1.201, allocations: 0.7463 MB / 1.504 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003286/1.204, allocations: 2.082 MB / 1.506 GB, free: 14.61 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.204, allocations: 8 kB / 1.506 GB, free: 14.61 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.473e-06/1.204, allocations: 0 / 1.506 GB, free: 14.61 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.293e-05/1.204, allocations: 0 / 1.506 GB, free: 14.61 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003838/1.208, allocations: 1.784 MB / 1.507 GB, free: 12.77 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.208, allocations: 12.03 kB / 1.507 GB, free: 12.75 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.711e-05/1.208, allocations: 30.59 kB / 1.507 GB, free: 12.72 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002842/1.208, allocations: 181.8 kB / 1.508 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/1.21, allocations: 271.8 kB / 1.508 GB, free: 12.27 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/1.211, allocations: 0.8914 MB / 1.509 GB, free: 11.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/1.212, allocations: 94.34 kB / 1.509 GB, free: 11.24 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/1.212, allocations: 115.9 kB / 1.509 GB, free: 11.13 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/1.214, allocations: 1.202 MB / 1.51 GB, free: 9.867 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/1.214, allocations: 4 kB / 1.51 GB, free: 9.863 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/1.214, allocations: 52 kB / 1.51 GB, free: 9.812 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/1.214, allocations: 32 kB / 1.51 GB, free: 9.781 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/1.217, allocations: 1.281 MB / 1.511 GB, free: 8.492 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00658/1.223, allocations: 3.732 MB / 1.515 GB, free: 4.555 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/1.225, allocations: 0.8042 MB / 1.516 GB, free: 3.746 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/1.226, allocations: 302.7 kB / 1.516 GB, free: 3.445 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.793e-05/1.226, allocations: 32.59 kB / 1.516 GB, free: 3.414 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/1.227, allocations: 0.5159 MB / 1.517 GB, free: 2.883 MB / 1.186 GB Notification: Performance of pre-optimization done (n=87): time 4.669e-06/1.227, allocations: 4 kB / 1.517 GB, free: 2.879 MB / 1.186 GB Notification: Performance of matching and sorting (n=87): time 0.003819/1.231, allocations: 1.284 MB / 1.518 GB, free: 1.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/1.231, allocations: 196.9 kB / 1.518 GB, free: 1.336 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.232, allocations: 0.7512 MB / 1.519 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.367e-05/1.232, allocations: 45.7 kB / 1.519 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/1.233, allocations: 0.5399 MB / 1.519 GB, free: 15.97 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/1.233, allocations: 301.5 kB / 1.52 GB, free: 15.68 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/1.233, allocations: 154.6 kB / 1.52 GB, free: 15.52 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.234, allocations: 334 kB / 1.52 GB, free: 15.18 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/1.234, allocations: 273.9 kB / 1.521 GB, free: 14.92 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000703/1.235, allocations: 390.5 kB / 1.521 GB, free: 14.51 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/1.236, allocations: 0.6359 MB / 1.522 GB, free: 13.86 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.236, allocations: 0 / 1.522 GB, free: 13.86 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002365/1.239, allocations: 0.8764 MB / 1.522 GB, free: 12.98 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/1.239, allocations: 11.94 kB / 1.522 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.239, allocations: 0 / 1.522 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006755/1.239, allocations: 88.95 kB / 1.522 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/1.24, allocations: 163.7 kB / 1.523 GB, free: 12.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/1.242, allocations: 1.629 MB / 1.524 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009211/1.243, allocations: 107.4 kB / 1.524 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.363e-05/1.244, allocations: 39.91 kB / 1.524 GB, free: 10.8 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: 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.0006891/1.244, allocations: 295.7 kB / 1.525 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/1.245, allocations: 107.3 kB / 1.525 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/1.247, allocations: 1.126 MB / 1.526 GB, free: 9.258 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.247, allocations: 8 kB / 1.526 GB, free: 9.25 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.247, allocations: 4 kB / 1.526 GB, free: 9.246 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.247, allocations: 3.984 kB / 1.526 GB, free: 9.242 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/1.249, allocations: 1.068 MB / 1.527 GB, free: 8.121 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.249, allocations: 0 / 1.527 GB, free: 8.121 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/1.25, allocations: 155.8 kB / 1.527 GB, free: 7.969 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/1.25, allocations: 64.8 kB / 1.527 GB, free: 7.902 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-05/1.25, allocations: 39.91 kB / 1.527 GB, free: 7.863 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/1.253, allocations: 1.654 MB / 1.529 GB, free: 6.062 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.253, allocations: 0 / 1.529 GB, free: 6.062 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/1.255, allocations: 0.9985 MB / 1.53 GB, free: 5.043 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/1.255, allocations: 304 kB / 1.53 GB, free: 4.727 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/1.256, allocations: 20 kB / 1.53 GB, free: 4.707 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/1.256, allocations: 65.44 kB / 1.53 GB, free: 4.645 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.256, allocations: 76.89 kB / 1.53 GB, free: 4.57 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.08e-05/1.257, allocations: 35.97 kB / 1.53 GB, free: 4.535 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008426/1.257, allocations: 0.5381 MB / 1.531 GB, free: 4.004 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.257, allocations: 0 / 1.531 GB, free: 4.004 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001052/1.258, allocations: 390.8 kB / 1.531 GB, free: 3.621 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: 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.0045/1.263, allocations: 2.038 MB / 1.533 GB, free: 1.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002019/1.265, allocations: 0.8234 MB / 1.534 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.265, allocations: 0 / 1.534 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.266, allocations: 0.516 MB / 1.534 GB, free: 372 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.268, allocations: 334.9 kB / 1.535 GB, free: 60 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.281, allocations: 7.149 MB / 1.542 GB, free: 8.766 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000868/1.282, allocations: 1.111 MB / 1.543 GB, free: 7.625 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009103/1.283, allocations: 279.7 kB / 1.543 GB, free: 7.348 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007452/1.283, allocations: 498.2 kB / 1.544 GB, free: 6.863 MB / 1.217 GB Notification: Performance of SimCode: time 5.81e-07/1.283, allocations: 4 kB / 1.544 GB, free: 6.859 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06111/1.344, allocations: 24.6 MB / 1.568 GB, free: 14.6 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.19, allocations: 14.23 kB / 1.568 GB, free: 14.59 MB / 1.248 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.09550938301254]