Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.001455/0.001455, allocations: 104 kB / 16.45 MB, free: 6.449 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.001462/0.001462, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.438/1.438, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.104/3.104, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.002001/0.002001, allocations: 73.89 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3262, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00857/0.3348, allocations: 5.456 MB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2135/0.5483, allocations: 154.2 MB / 1.477 GB, free: 3.051 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.5496, allocations: 23.81 kB / 1.477 GB, free: 3.027 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.5506, allocations: 218 kB / 1.477 GB, free: 2.812 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.5532, allocations: 0.5966 MB / 1.478 GB, free: 2.219 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.5558, allocations: 0.9777 MB / 1.478 GB, free: 1.246 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002558/0.5584, allocations: 1.628 MB / 1.48 GB, free: 15.61 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.5595, allocations: 0.521 MB / 1.481 GB, free: 15.05 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.5607, allocations: 0.623 MB / 1.481 GB, free: 14.43 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009797/0.5617, allocations: 0.6613 MB / 1.482 GB, free: 13.77 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.562, allocations: 144 kB / 1.482 GB, free: 13.62 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.5633, allocations: 0.562 MB / 1.483 GB, free: 13.06 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004737/0.5637, allocations: 366.8 kB / 1.483 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008423/0.5646, allocations: 0.6724 MB / 1.484 GB, free: 12.03 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.5676, allocations: 1.977 MB / 1.485 GB, free: 10.04 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5676, allocations: 0 / 1.485 GB, free: 10.04 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5676, allocations: 0 / 1.485 GB, free: 10.04 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.548e-05/0.5676, allocations: 0 / 1.485 GB, free: 10.04 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003978/0.5716, allocations: 1.748 MB / 1.487 GB, free: 8.238 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.5717, allocations: 15.98 kB / 1.487 GB, free: 8.223 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.5719, allocations: 165.1 kB / 1.487 GB, free: 8.051 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006321/0.5782, allocations: 0.8193 MB / 1.488 GB, free: 7.23 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.5799, allocations: 0.8564 MB / 1.489 GB, free: 6.328 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.58, allocations: 78.2 kB / 1.489 GB, free: 6.25 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.5802, allocations: 108 kB / 1.489 GB, free: 6.145 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/0.5839, allocations: 1.432 MB / 1.491 GB, free: 4.648 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5839, allocations: 0 / 1.491 GB, free: 4.648 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.584, allocations: 51.98 kB / 1.491 GB, free: 4.598 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.5841, allocations: 24 kB / 1.491 GB, free: 4.574 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005235/0.5893, allocations: 1.885 MB / 1.492 GB, free: 2.68 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007174/0.5965, allocations: 3.624 MB / 1.496 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/0.6002, allocations: 1.3 MB / 1.497 GB, free: 13.57 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.6018, allocations: 0.5441 MB / 1.498 GB, free: 13.03 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007386/0.6026, allocations: 478.4 kB / 1.498 GB, free: 12.46 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002115/0.6047, allocations: 0.8165 MB / 1.499 GB, free: 11.63 MB / 1.201 GB Notification: Performance of pre-optimization done (n=109): time 2.665e-06/0.6047, allocations: 0 / 1.499 GB, free: 11.63 MB / 1.201 GB Notification: Performance of matching and sorting (n=109): time 0.00678/0.6115, allocations: 1.97 MB / 1.501 GB, free: 9.633 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.6116, allocations: 196.9 kB / 1.501 GB, free: 9.398 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.6126, allocations: 0.6764 MB / 1.502 GB, free: 8.711 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.6128, allocations: 49.7 kB / 1.502 GB, free: 8.656 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.6132, allocations: 461.3 kB / 1.502 GB, free: 8.199 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003953/0.6136, allocations: 376.8 kB / 1.503 GB, free: 7.828 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.614, allocations: 186.5 kB / 1.503 GB, free: 7.641 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002337/0.6142, allocations: 398.7 kB / 1.503 GB, free: 7.242 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.6158, allocations: 489.7 kB / 1.504 GB, free: 6.762 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.6176, allocations: 0.6086 MB / 1.504 GB, free: 6.125 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.6209, allocations: 1.062 MB / 1.505 GB, free: 5.051 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6209, allocations: 64 / 1.505 GB, free: 5.051 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004497/0.6254, allocations: 1.329 MB / 1.507 GB, free: 3.707 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.6254, allocations: 4 kB / 1.507 GB, free: 3.703 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6254, allocations: 7.938 kB / 1.507 GB, free: 3.695 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/0.626, allocations: 84.89 kB / 1.507 GB, free: 3.609 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.6275, allocations: 259.6 kB / 1.507 GB, free: 3.355 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.63, allocations: 1.642 MB / 1.509 GB, free: 1.566 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.6316, allocations: 163.3 kB / 1.509 GB, free: 1.406 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.6318, allocations: 47.97 kB / 1.509 GB, free: 1.359 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (116): * Single equations (assignments): 115 * 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.0006863/0.6325, allocations: 293.5 kB / 1.509 GB, free: 1.062 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.6327, allocations: 95.39 kB / 1.509 GB, free: 0.9688 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005363/0.6381, allocations: 1.677 MB / 1.511 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.6381, allocations: 12 kB / 1.511 GB, free: 15.26 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.6381, allocations: 4 kB / 1.511 GB, free: 15.26 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.6382, allocations: 7.922 kB / 1.511 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006668/0.6448, allocations: 2.832 MB / 1.514 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.6448, allocations: 0 / 1.514 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.6462, allocations: 247.7 kB / 1.514 GB, free: 12.12 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.6467, allocations: 84.7 kB / 1.514 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.6468, allocations: 35.97 kB / 1.514 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/0.6492, allocations: 1.654 MB / 1.516 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.6492, allocations: 3.984 kB / 1.516 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004712/0.6539, allocations: 1.537 MB / 1.517 GB, free: 8.633 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.6546, allocations: 324 kB / 1.517 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.6548, allocations: 31.92 kB / 1.517 GB, free: 8.266 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.6561, allocations: 119.9 kB / 1.518 GB, free: 8.148 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.6563, allocations: 84.88 kB / 1.518 GB, free: 8.066 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.6564, allocations: 51.95 kB / 1.518 GB, free: 8.016 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000755/0.6572, allocations: 491 kB / 1.518 GB, free: 7.543 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6572, allocations: 0 / 1.518 GB, free: 7.543 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001212/0.6584, allocations: 395.1 kB / 1.518 GB, free: 7.156 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * 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.006888/0.6653, allocations: 2.62 MB / 1.521 GB, free: 4.691 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004273/0.6696, allocations: 1.304 MB / 1.522 GB, free: 3.375 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.6696, allocations: 0 / 1.522 GB, free: 3.375 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/0.6718, allocations: 0.7616 MB / 1.523 GB, free: 2.602 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.6734, allocations: 327.3 kB / 1.523 GB, free: 2.305 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/0.6927, allocations: 8.299 MB / 1.531 GB, free: 9.848 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/0.6935, allocations: 1.092 MB / 1.533 GB, free: 8.73 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00138/0.6949, allocations: 343.9 kB / 1.533 GB, free: 8.391 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/0.6957, allocations: 475.2 kB / 1.533 GB, free: 7.926 MB / 1.232 GB Notification: Performance of SimCode: time 7.51e-07/0.6957, allocations: 0 / 1.533 GB, free: 7.926 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07034/0.7661, allocations: 26.02 MB / 1.559 GB, free: 14.26 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.48, allocations: 13.17 kB / 1.559 GB, free: 14.25 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.198727978859097]