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.0017/0.0017, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00218/0.00218, allocations: 210.8 kB / 22.24 MB, free: 5.262 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.785 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.336/3.336, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002076/0.002076, allocations: 68.34 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3554, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.0087/0.3641, allocations: 5.346 MB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1771/0.5412, allocations: 132.9 MB / 1.498 GB, free: 3.301 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.5423, allocations: 27.75 kB / 1.498 GB, free: 3.273 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.5434, allocations: 245.7 kB / 1.499 GB, free: 3.031 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002919/0.5464, allocations: 0.6577 MB / 1.499 GB, free: 2.375 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.549, allocations: 0.8904 MB / 1.5 GB, free: 1.488 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002953/0.552, allocations: 1.665 MB / 1.502 GB, free: 15.82 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.5535, allocations: 0.5777 MB / 1.502 GB, free: 15.2 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.5548, allocations: 0.6423 MB / 1.503 GB, free: 14.55 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.5559, allocations: 0.5908 MB / 1.504 GB, free: 13.96 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004022/0.5563, allocations: 160 kB / 1.504 GB, free: 13.8 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.5576, allocations: 0.5153 MB / 1.504 GB, free: 13.29 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000504/0.5581, allocations: 382.7 kB / 1.505 GB, free: 12.91 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009985/0.5591, allocations: 0.6026 MB / 1.505 GB, free: 12.31 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.5624, allocations: 2.097 MB / 1.507 GB, free: 10.2 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5624, allocations: 0 / 1.507 GB, free: 10.2 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5624, allocations: 4 kB / 1.507 GB, free: 10.2 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.448e-05/0.5625, allocations: 0 / 1.507 GB, free: 10.2 MB / 1.201 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.003803/0.5663, allocations: 1.725 MB / 1.509 GB, free: 8.438 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.5663, allocations: 8.031 kB / 1.509 GB, free: 8.43 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002843/0.5666, allocations: 177.8 kB / 1.509 GB, free: 8.246 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.5683, allocations: 279.8 kB / 1.509 GB, free: 7.973 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.5701, allocations: 0.8116 MB / 1.51 GB, free: 7.133 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.5702, allocations: 90.41 kB / 1.51 GB, free: 7.043 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.5703, allocations: 116 kB / 1.51 GB, free: 6.93 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.5728, allocations: 1.457 MB / 1.512 GB, free: 5.348 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.5728, allocations: 0 / 1.512 GB, free: 5.348 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.5729, allocations: 56 kB / 1.512 GB, free: 5.293 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.573, allocations: 28 kB / 1.512 GB, free: 5.266 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.5754, allocations: 1.238 MB / 1.513 GB, free: 4.02 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005815/0.5812, allocations: 2.799 MB / 1.516 GB, free: 1.148 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.583, allocations: 0.8124 MB / 1.517 GB, free: 340 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005881/0.5835, allocations: 294.7 kB / 1.517 GB, free: 44 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/0.5836, allocations: 28.64 kB / 1.517 GB, free: 16 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.5847, allocations: 0.614 MB / 1.517 GB, free: 15.36 MB / 1.217 GB Notification: Performance of pre-optimization done (n=87): time 2.785e-06/0.5847, allocations: 0 / 1.517 GB, free: 15.36 MB / 1.217 GB Notification: Performance of matching and sorting (n=87): time 0.003598/0.5883, allocations: 1.215 MB / 1.519 GB, free: 14.14 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.5884, allocations: 196.9 kB / 1.519 GB, free: 13.9 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.5896, allocations: 0.7589 MB / 1.52 GB, free: 13.13 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.911e-05/0.5897, allocations: 41.7 kB / 1.52 GB, free: 13.08 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005482/0.5902, allocations: 0.5321 MB / 1.52 GB, free: 12.54 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.5905, allocations: 301.4 kB / 1.52 GB, free: 12.25 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.5908, allocations: 162.6 kB / 1.521 GB, free: 12.08 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.591, allocations: 334 kB / 1.521 GB, free: 11.75 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.5916, allocations: 273.8 kB / 1.521 GB, free: 11.48 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008558/0.5924, allocations: 0.5069 MB / 1.522 GB, free: 10.92 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.5938, allocations: 0.6359 MB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5938, allocations: 0 / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002375/0.5962, allocations: 0.8765 MB / 1.523 GB, free: 9.383 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.5962, allocations: 7.938 kB / 1.523 GB, free: 9.375 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5962, allocations: 8 kB / 1.523 GB, free: 9.367 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.5968, allocations: 84.88 kB / 1.523 GB, free: 9.281 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.5976, allocations: 159.8 kB / 1.523 GB, free: 9.125 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.5999, allocations: 1.515 MB / 1.525 GB, free: 7.488 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.6007, allocations: 101.6 kB / 1.525 GB, free: 7.391 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.383e-05/0.6008, allocations: 40.14 kB / 1.525 GB, free: 7.352 MB / 1.217 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.000588/0.6014, allocations: 297.5 kB / 1.525 GB, free: 7.051 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.6017, allocations: 95.39 kB / 1.525 GB, free: 6.957 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.6044, allocations: 1.134 MB / 1.526 GB, free: 5.812 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.6044, allocations: 12 kB / 1.527 GB, free: 5.801 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6044, allocations: 3.938 kB / 1.527 GB, free: 5.797 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.6044, allocations: 3.984 kB / 1.527 GB, free: 5.793 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.6059, allocations: 0.899 MB / 1.527 GB, free: 4.852 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.6059, allocations: 4 kB / 1.527 GB, free: 4.848 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.6066, allocations: 151.8 kB / 1.528 GB, free: 4.699 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.607, allocations: 76.78 kB / 1.528 GB, free: 4.621 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.6071, allocations: 31.92 kB / 1.528 GB, free: 4.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.6092, allocations: 1.543 MB / 1.529 GB, free: 2.926 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6092, allocations: 0 / 1.529 GB, free: 2.926 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.6115, allocations: 0.987 MB / 1.53 GB, free: 1.918 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005593/0.612, allocations: 230.9 kB / 1.53 GB, free: 1.691 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.6122, allocations: 24 kB / 1.53 GB, free: 1.668 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.6129, allocations: 71.86 kB / 1.53 GB, free: 1.598 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.613, allocations: 72.86 kB / 1.53 GB, free: 1.523 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/0.6131, allocations: 39.97 kB / 1.531 GB, free: 1.484 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008628/0.614, allocations: 0.5342 MB / 1.531 GB, free: 0.9531 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.614, allocations: 0 / 1.531 GB, free: 0.9531 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001017/0.615, allocations: 386.9 kB / 1.531 GB, free: 0.5742 MB / 1.217 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.004689/0.6197, allocations: 2.088 MB / 1.533 GB, free: 14.67 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.6216, allocations: 0.8156 MB / 1.534 GB, free: 13.84 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6216, allocations: 4 kB / 1.534 GB, free: 13.84 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.6227, allocations: 0.5159 MB / 1.535 GB, free: 13.31 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.6241, allocations: 324.1 kB / 1.535 GB, free: 13.02 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.6377, allocations: 7.143 MB / 1.542 GB, free: 5.719 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/0.6384, allocations: 0.5224 MB / 1.543 GB, free: 5.164 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009855/0.6394, allocations: 283.6 kB / 1.543 GB, free: 4.883 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007688/0.6401, allocations: 499.2 kB / 1.543 GB, free: 4.395 MB / 1.232 GB Notification: Performance of SimCode: time 6.31e-07/0.6401, allocations: 0 / 1.543 GB, free: 4.395 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/0.7454, allocations: 26.24 MB / 1.569 GB, free: 10.49 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.73, allocations: 11.94 kB / 1.569 GB, free: 10.48 MB / 1.264 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: 21.819859481882304]