Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001896/0.001896, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.00243/0.00243, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.074/3.074, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_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.001937/0.001937, allocations: 67.53 kB / 1.155 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3747, allocations: 176.1 MB / 1.327 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008199/0.3829, allocations: 5.343 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1757/0.5585, allocations: 132.8 MB / 1.461 GB, free: 6.859 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.5598, allocations: 27.75 kB / 1.462 GB, free: 6.832 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.5608, allocations: 241.7 kB / 1.462 GB, free: 6.594 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.5635, allocations: 0.6646 MB / 1.462 GB, free: 5.93 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.566, allocations: 0.8941 MB / 1.463 GB, free: 5.043 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.5686, allocations: 1.677 MB / 1.465 GB, free: 3.359 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.57, allocations: 0.5972 MB / 1.465 GB, free: 2.723 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.5712, allocations: 0.6423 MB / 1.466 GB, free: 2.078 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.5725, allocations: 0.6768 MB / 1.467 GB, free: 1.398 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005528/0.573, allocations: 156 kB / 1.467 GB, free: 1.246 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.5747, allocations: 0.5348 MB / 1.467 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000639/0.5753, allocations: 378.7 kB / 1.468 GB, free: 348 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.5764, allocations: 0.6026 MB / 1.468 GB, free: 15.73 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.5795, allocations: 2.101 MB / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5795, allocations: 4 kB / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5795, allocations: 0 / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.475e-05/0.5795, allocations: 0 / 1.47 GB, free: 13.62 MB / 1.17 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.003235/0.5827, allocations: 1.713 MB / 1.472 GB, free: 11.87 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5828, allocations: 19.91 kB / 1.472 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.65e-05/0.5828, allocations: 30.59 kB / 1.472 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002262/0.5831, allocations: 177.8 kB / 1.472 GB, free: 11.64 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.5847, allocations: 279.8 kB / 1.473 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.5862, allocations: 0.8076 MB / 1.473 GB, free: 10.53 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/0.5863, allocations: 94.34 kB / 1.473 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.5865, allocations: 120 kB / 1.474 GB, free: 10.32 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.5887, allocations: 1.457 MB / 1.475 GB, free: 8.734 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.5887, allocations: 0 / 1.475 GB, free: 8.734 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.5889, allocations: 52 kB / 1.475 GB, free: 8.684 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.5889, allocations: 28 kB / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.591, allocations: 1.285 MB / 1.476 GB, free: 7.363 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005184/0.5962, allocations: 2.78 MB / 1.479 GB, free: 4.512 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.5978, allocations: 0.8226 MB / 1.48 GB, free: 3.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/0.5983, allocations: 290.7 kB / 1.48 GB, free: 3.395 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.53e-05/0.5984, allocations: 28.62 kB / 1.48 GB, free: 3.367 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.5994, allocations: 0.6129 MB / 1.481 GB, free: 2.711 MB / 1.17 GB Notification: Performance of pre-optimization done (n=87): time 3.066e-06/0.5994, allocations: 4 kB / 1.481 GB, free: 2.707 MB / 1.17 GB Notification: Performance of matching and sorting (n=87): time 0.00344/0.6029, allocations: 1.215 MB / 1.482 GB, free: 1.484 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.603, allocations: 200.8 kB / 1.482 GB, free: 1.246 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.6041, allocations: 0.7551 MB / 1.483 GB, free: 488 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.6041, allocations: 41.7 kB / 1.483 GB, free: 440 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/0.6046, allocations: 0.5399 MB / 1.483 GB, free: 15.88 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.6049, allocations: 293.5 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.6052, allocations: 158.6 kB / 1.484 GB, free: 15.43 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6053, allocations: 337.9 kB / 1.484 GB, free: 15.1 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.6059, allocations: 269.9 kB / 1.484 GB, free: 14.83 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.6066, allocations: 0.5068 MB / 1.485 GB, free: 14.27 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.6078, allocations: 0.6359 MB / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6078, allocations: 0 / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002168/0.61, allocations: 0.8765 MB / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.61, allocations: 7.938 kB / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.61, allocations: 0 / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.6107, allocations: 92.8 kB / 1.487 GB, free: 12.63 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.6114, allocations: 159.8 kB / 1.487 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.6136, allocations: 1.527 MB / 1.488 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007928/0.6144, allocations: 107.4 kB / 1.488 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/0.6145, allocations: 35.92 kB / 1.488 GB, free: 10.69 MB / 1.186 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.0005754/0.6151, allocations: 294.4 kB / 1.489 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.6153, allocations: 99.34 kB / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.618, allocations: 1.126 MB / 1.49 GB, free: 9.156 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.6181, allocations: 11.98 kB / 1.49 GB, free: 9.145 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6181, allocations: 0 / 1.49 GB, free: 9.145 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.6181, allocations: 3.984 kB / 1.49 GB, free: 9.141 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.6196, allocations: 0.8989 MB / 1.491 GB, free: 8.199 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6196, allocations: 0 / 1.491 GB, free: 8.199 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/0.6202, allocations: 155.8 kB / 1.491 GB, free: 8.047 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/0.6207, allocations: 68.8 kB / 1.491 GB, free: 7.977 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/0.6208, allocations: 43.91 kB / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.623, allocations: 1.539 MB / 1.492 GB, free: 6.273 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.623, allocations: 0 / 1.492 GB, free: 6.273 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.6253, allocations: 1.002 MB / 1.493 GB, free: 5.25 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/0.6258, allocations: 223 kB / 1.494 GB, free: 5.031 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.626, allocations: 20 kB / 1.494 GB, free: 5.012 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006515/0.6266, allocations: 66.06 kB / 1.494 GB, free: 4.949 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.6268, allocations: 76.84 kB / 1.494 GB, free: 4.871 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/0.6269, allocations: 35.98 kB / 1.494 GB, free: 4.836 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007695/0.6277, allocations: 0.542 MB / 1.494 GB, free: 4.297 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6277, allocations: 0 / 1.494 GB, free: 4.297 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001011/0.6287, allocations: 382.9 kB / 1.495 GB, free: 3.922 MB / 1.186 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.004525/0.6332, allocations: 2.089 MB / 1.497 GB, free: 2.012 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.6351, allocations: 0.8274 MB / 1.498 GB, free: 1.172 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6351, allocations: 0 / 1.498 GB, free: 1.172 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009759/0.636, allocations: 0.5119 MB / 1.498 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.6375, allocations: 332.9 kB / 1.498 GB, free: 364 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.6503, allocations: 7.146 MB / 1.505 GB, free: 9.051 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.6509, allocations: 0.5184 MB / 1.506 GB, free: 8.5 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009781/0.6519, allocations: 283.7 kB / 1.506 GB, free: 8.219 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/0.6526, allocations: 487.2 kB / 1.507 GB, free: 7.742 MB / 1.201 GB Notification: Performance of SimCode: time 1.382e-06/0.6526, allocations: 0 / 1.507 GB, free: 7.742 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06956/0.7222, allocations: 26.03 MB / 1.532 GB, free: 14.1 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.34, allocations: 5.953 kB / 1.532 GB, free: 14.09 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.384919219999574]