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.001287/0.001287, allocations: 109.2 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.001488/0.001488, allocations: 218.7 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.996 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.783/2.783, allocations: 476.8 MB / 0.7707 GB, free: 4.297 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.002086/0.002086, allocations: 67.75 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.349, allocations: 170 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008795/0.3578, allocations: 6.061 MB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1885/0.5464, allocations: 154.4 MB / 1.44 GB, free: 10.74 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.5476, allocations: 27.75 kB / 1.44 GB, free: 10.71 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.5487, allocations: 241.7 kB / 1.44 GB, free: 10.47 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.5513, allocations: 0.6495 MB / 1.441 GB, free: 9.82 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.5538, allocations: 0.9199 MB / 1.442 GB, free: 8.906 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002896/0.5567, allocations: 1.677 MB / 1.443 GB, free: 7.223 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.5582, allocations: 0.605 MB / 1.444 GB, free: 6.582 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.5595, allocations: 0.6423 MB / 1.445 GB, free: 5.938 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.5606, allocations: 0.6706 MB / 1.445 GB, free: 5.266 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.5609, allocations: 156 kB / 1.445 GB, free: 5.113 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.5621, allocations: 0.5542 MB / 1.446 GB, free: 4.559 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003977/0.5625, allocations: 382.8 kB / 1.446 GB, free: 4.184 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008497/0.5633, allocations: 0.7424 MB / 1.447 GB, free: 3.438 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.566, allocations: 2.09 MB / 1.449 GB, free: 1.34 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.566, allocations: 0 / 1.449 GB, free: 1.34 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.402e-06/0.566, allocations: 0 / 1.449 GB, free: 1.34 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.698e-05/0.5661, allocations: 0 / 1.449 GB, free: 1.34 MB / 1.139 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.003317/0.5694, allocations: 1.717 MB / 1.451 GB, free: 15.58 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.5694, allocations: 12.03 kB / 1.451 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000225/0.5697, allocations: 185.8 kB / 1.451 GB, free: 15.38 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.5713, allocations: 271.8 kB / 1.451 GB, free: 15.11 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.5728, allocations: 0.8194 MB / 1.452 GB, free: 14.26 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/0.5729, allocations: 90.39 kB / 1.452 GB, free: 14.17 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.5731, allocations: 116 kB / 1.452 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.5752, allocations: 1.198 MB / 1.453 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.5753, allocations: 0 / 1.453 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.5754, allocations: 51.98 kB / 1.453 GB, free: 12.75 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.5754, allocations: 32 kB / 1.453 GB, free: 12.71 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.5775, allocations: 1.285 MB / 1.455 GB, free: 11.42 MB / 1.154 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.005646/0.5832, allocations: 3.505 MB / 1.458 GB, free: 7.746 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.5847, allocations: 0.8019 MB / 1.459 GB, free: 6.941 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.5853, allocations: 302.7 kB / 1.459 GB, free: 6.637 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.625e-05/0.5854, allocations: 32.61 kB / 1.459 GB, free: 6.605 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009192/0.5863, allocations: 0.5202 MB / 1.46 GB, free: 6.07 MB / 1.154 GB Notification: Performance of pre-optimization done (n=87): time 2.445e-06/0.5863, allocations: 3.938 kB / 1.46 GB, free: 6.066 MB / 1.154 GB Notification: Performance of matching and sorting (n=87): time 0.003406/0.5897, allocations: 1.219 MB / 1.461 GB, free: 4.844 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.5898, allocations: 196.9 kB / 1.461 GB, free: 4.605 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.591, allocations: 0.7627 MB / 1.462 GB, free: 3.828 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.78e-05/0.5911, allocations: 45.69 kB / 1.462 GB, free: 3.777 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/0.5916, allocations: 0.5321 MB / 1.462 GB, free: 3.238 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.5918, allocations: 301.4 kB / 1.463 GB, free: 2.941 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.5921, allocations: 162.6 kB / 1.463 GB, free: 2.777 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5923, allocations: 330 kB / 1.463 GB, free: 2.449 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.5928, allocations: 269.9 kB / 1.463 GB, free: 2.188 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.5935, allocations: 386.5 kB / 1.464 GB, free: 1.777 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.5947, allocations: 0.6359 MB / 1.464 GB, free: 1.133 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.5947, allocations: 4 kB / 1.464 GB, free: 1.129 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002162/0.5969, allocations: 0.8804 MB / 1.465 GB, free: 244 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.5969, allocations: 11.88 kB / 1.465 GB, free: 232 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5969, allocations: 0 / 1.465 GB, free: 232 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/0.5975, allocations: 80.86 kB / 1.465 GB, free: 148 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.5983, allocations: 167.8 kB / 1.466 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.6006, allocations: 1.521 MB / 1.467 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008363/0.6015, allocations: 101.3 kB / 1.467 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-05/0.6015, allocations: 39.97 kB / 1.467 GB, free: 14.21 MB / 1.17 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.0005942/0.6021, allocations: 293.9 kB / 1.467 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.6024, allocations: 99.34 kB / 1.468 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/0.6051, allocations: 1.134 MB / 1.469 GB, free: 12.67 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.6051, allocations: 8 kB / 1.469 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6051, allocations: 0 / 1.469 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.6051, allocations: 3.984 kB / 1.469 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.6067, allocations: 1.043 MB / 1.47 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.6067, allocations: 3.984 kB / 1.47 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.6074, allocations: 147.8 kB / 1.47 GB, free: 11.42 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/0.6079, allocations: 80.72 kB / 1.47 GB, free: 11.34 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/0.608, allocations: 27.92 kB / 1.47 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.61, allocations: 1.555 MB / 1.471 GB, free: 9.633 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.61, allocations: 0 / 1.471 GB, free: 9.633 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.6124, allocations: 0.9946 MB / 1.472 GB, free: 8.617 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/0.613, allocations: 219 kB / 1.473 GB, free: 8.402 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.6132, allocations: 23.94 kB / 1.473 GB, free: 8.379 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/0.614, allocations: 75.92 kB / 1.473 GB, free: 8.305 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.6141, allocations: 72.86 kB / 1.473 GB, free: 8.234 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/0.6142, allocations: 39.97 kB / 1.473 GB, free: 8.195 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008561/0.6151, allocations: 0.5342 MB / 1.473 GB, free: 7.664 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6151, allocations: 0 / 1.473 GB, free: 7.664 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001178/0.6163, allocations: 390.8 kB / 1.474 GB, free: 7.281 MB / 1.17 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.004543/0.6208, allocations: 2.057 MB / 1.476 GB, free: 5.375 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.6227, allocations: 0.8235 MB / 1.477 GB, free: 4.539 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6227, allocations: 4 kB / 1.477 GB, free: 4.535 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.6238, allocations: 0.5118 MB / 1.477 GB, free: 4.012 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.6253, allocations: 326 kB / 1.477 GB, free: 3.715 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.6392, allocations: 7.146 MB / 1.484 GB, free: 12.41 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009588/0.6402, allocations: 1.114 MB / 1.485 GB, free: 11.27 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001011/0.6412, allocations: 275.8 kB / 1.486 GB, free: 11 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/0.642, allocations: 491.2 kB / 1.486 GB, free: 10.52 MB / 1.186 GB Notification: Performance of SimCode: time 1.062e-06/0.642, allocations: 0 / 1.486 GB, free: 10.52 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07623/0.7182, allocations: 25.17 MB / 1.511 GB, free: 1.613 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.38, allocations: 1.891 kB / 1.511 GB, free: 1.613 MB / 1.201 GB " [Timeout remaining time 284] (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: 22.271161132026464]