Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001699/0.001699, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00216/0.00216, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.64/2.64, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_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.002056/0.002056, allocations: 71.91 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2733, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00746/0.2808, allocations: 5.351 MB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.44, allocations: 132.9 MB / 1.418 GB, free: 1.68 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007567/0.4407, allocations: 23.81 kB / 1.418 GB, free: 1.656 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.4414, allocations: 245.6 kB / 1.418 GB, free: 1.414 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.4431, allocations: 0.6514 MB / 1.418 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.445, allocations: 0.8924 MB / 1.419 GB, free: 15.87 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.4467, allocations: 1.681 MB / 1.421 GB, free: 14.19 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000907/0.4476, allocations: 0.5737 MB / 1.422 GB, free: 13.58 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007823/0.4484, allocations: 0.6462 MB / 1.422 GB, free: 12.93 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007258/0.4491, allocations: 0.5831 MB / 1.423 GB, free: 12.34 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.4493, allocations: 156 kB / 1.423 GB, free: 12.19 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009694/0.4503, allocations: 0.5269 MB / 1.423 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003354/0.4506, allocations: 386.8 kB / 1.424 GB, free: 11.29 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.4512, allocations: 0.6026 MB / 1.424 GB, free: 10.68 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.4534, allocations: 2.101 MB / 1.426 GB, free: 8.57 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4534, allocations: 4 kB / 1.426 GB, free: 8.566 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4534, allocations: 0 / 1.426 GB, free: 8.566 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.4535, allocations: 0 / 1.426 GB, free: 8.566 MB / 1.123 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.002907/0.4564, allocations: 1.717 MB / 1.428 GB, free: 6.809 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4564, allocations: 8.031 kB / 1.428 GB, free: 6.801 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002112/0.4566, allocations: 177.8 kB / 1.428 GB, free: 6.617 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.4582, allocations: 283.8 kB / 1.429 GB, free: 6.34 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.4597, allocations: 0.8155 MB / 1.429 GB, free: 5.492 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.639e-05/0.4598, allocations: 90.41 kB / 1.429 GB, free: 5.402 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.4599, allocations: 112 kB / 1.429 GB, free: 5.293 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.4621, allocations: 1.457 MB / 1.431 GB, free: 3.711 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.4622, allocations: 0 / 1.431 GB, free: 3.711 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.4623, allocations: 52 kB / 1.431 GB, free: 3.66 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.4623, allocations: 28 kB / 1.431 GB, free: 3.633 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.4645, allocations: 1.238 MB / 1.432 GB, free: 2.387 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005091/0.4695, allocations: 2.791 MB / 1.435 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.4712, allocations: 0.8109 MB / 1.436 GB, free: 14.71 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.4718, allocations: 294.7 kB / 1.436 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.4718, allocations: 36.56 kB / 1.436 GB, free: 14.38 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.4728, allocations: 0.6265 MB / 1.437 GB, free: 13.71 MB / 1.139 GB Notification: Performance of pre-optimization done (n=87): time 2.915e-06/0.4728, allocations: 0 / 1.437 GB, free: 13.71 MB / 1.139 GB Notification: Performance of matching and sorting (n=87): time 0.003463/0.4763, allocations: 1.211 MB / 1.438 GB, free: 12.5 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4764, allocations: 192.9 kB / 1.438 GB, free: 12.26 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.4774, allocations: 0.7627 MB / 1.439 GB, free: 11.48 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/0.4775, allocations: 45.7 kB / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004561/0.478, allocations: 0.5398 MB / 1.439 GB, free: 10.89 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.4782, allocations: 297.5 kB / 1.44 GB, free: 10.59 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.4785, allocations: 158.6 kB / 1.44 GB, free: 10.43 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4786, allocations: 337.9 kB / 1.44 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.4792, allocations: 269.9 kB / 1.44 GB, free: 9.836 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/0.4799, allocations: 0.503 MB / 1.441 GB, free: 9.273 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.4811, allocations: 0.6359 MB / 1.441 GB, free: 8.629 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4811, allocations: 0 / 1.441 GB, free: 8.629 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00207/0.4832, allocations: 0.8803 MB / 1.442 GB, free: 7.738 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.4832, allocations: 11.94 kB / 1.442 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.4832, allocations: 0 / 1.442 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.4838, allocations: 84.86 kB / 1.442 GB, free: 7.641 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.4845, allocations: 159.8 kB / 1.443 GB, free: 7.484 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.4866, allocations: 1.523 MB / 1.444 GB, free: 5.844 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007055/0.4874, allocations: 103.3 kB / 1.444 GB, free: 5.742 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.4874, allocations: 32.05 kB / 1.444 GB, free: 5.711 MB / 1.139 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.0004923/0.4879, allocations: 293.6 kB / 1.444 GB, free: 5.414 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.4881, allocations: 107.3 kB / 1.445 GB, free: 5.309 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.4907, allocations: 1.122 MB / 1.446 GB, free: 4.168 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.4907, allocations: 8 kB / 1.446 GB, free: 4.16 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.4907, allocations: 0 / 1.446 GB, free: 4.16 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.4907, allocations: 11.97 kB / 1.446 GB, free: 4.148 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.4919, allocations: 0.8951 MB / 1.447 GB, free: 3.211 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4919, allocations: 0 / 1.447 GB, free: 3.211 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/0.4925, allocations: 155.7 kB / 1.447 GB, free: 3.059 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.4929, allocations: 80.7 kB / 1.447 GB, free: 2.977 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/0.493, allocations: 35.91 kB / 1.447 GB, free: 2.941 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.4949, allocations: 1.535 MB / 1.448 GB, free: 1.285 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4949, allocations: 0 / 1.448 GB, free: 1.285 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.4971, allocations: 0.9985 MB / 1.449 GB, free: 272 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.4975, allocations: 218.9 kB / 1.449 GB, free: 52 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.4977, allocations: 27.92 kB / 1.45 GB, free: 24 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.4984, allocations: 70.3 kB / 1.45 GB, free: 15.95 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.4985, allocations: 76.84 kB / 1.45 GB, free: 15.88 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.457e-05/0.4986, allocations: 35.98 kB / 1.45 GB, free: 15.84 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007418/0.4993, allocations: 0.5342 MB / 1.45 GB, free: 15.31 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.4993, allocations: 0 / 1.45 GB, free: 15.31 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009158/0.5003, allocations: 382.9 kB / 1.451 GB, free: 14.94 MB / 1.154 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.004315/0.5046, allocations: 2.08 MB / 1.453 GB, free: 13.04 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.5064, allocations: 0.8194 MB / 1.453 GB, free: 12.21 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5064, allocations: 4 kB / 1.453 GB, free: 12.21 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009963/0.5074, allocations: 0.5238 MB / 1.454 GB, free: 11.67 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5086, allocations: 333 kB / 1.454 GB, free: 11.37 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.5206, allocations: 7.138 MB / 1.461 GB, free: 4.074 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.5213, allocations: 0.5184 MB / 1.462 GB, free: 3.523 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009536/0.5222, allocations: 279.7 kB / 1.462 GB, free: 3.246 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007339/0.523, allocations: 495.2 kB / 1.462 GB, free: 2.762 MB / 1.154 GB Notification: Performance of SimCode: time 7.61e-07/0.523, allocations: 3.938 kB / 1.462 GB, free: 2.758 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06523/0.5882, allocations: 26.24 MB / 1.488 GB, free: 8.883 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.06, allocations: 6.125 kB / 1.488 GB, free: 8.879 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.68646105285734]