Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001324/0.001324, 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.001659/0.001659, allocations: 219.8 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.984 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.296/3.296, allocations: 0.505 GB / 0.8101 GB, free: 22.18 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.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_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.001942/0.001942, allocations: 68.33 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3738, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008575/0.3823, allocations: 5.491 MB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.185/0.5673, allocations: 154.4 MB / 1.509 GB, free: 8.035 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.5684, allocations: 23.81 kB / 1.509 GB, free: 8.012 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009511/0.5693, allocations: 217.9 kB / 1.509 GB, free: 7.797 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.5716, allocations: 0.5894 MB / 1.51 GB, free: 7.207 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.5742, allocations: 0.9899 MB / 1.511 GB, free: 6.223 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.5766, allocations: 1.64 MB / 1.512 GB, free: 4.574 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.5778, allocations: 0.5101 MB / 1.513 GB, free: 4.023 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.5788, allocations: 0.623 MB / 1.513 GB, free: 3.398 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.5799, allocations: 0.6574 MB / 1.514 GB, free: 2.738 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.5803, allocations: 144 kB / 1.514 GB, free: 2.598 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.5816, allocations: 0.562 MB / 1.515 GB, free: 2.035 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004755/0.5821, allocations: 362.9 kB / 1.515 GB, free: 1.68 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009893/0.5831, allocations: 0.6841 MB / 1.516 GB, free: 0.9922 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003094/0.5862, allocations: 1.973 MB / 1.518 GB, free: 15.01 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5862, allocations: 0 / 1.518 GB, free: 15.01 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5862, allocations: 0 / 1.518 GB, free: 15.01 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.132e-05/0.5862, allocations: 0 / 1.518 GB, free: 15.01 MB / 1.217 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.004124/0.5904, allocations: 1.674 MB / 1.519 GB, free: 13.3 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.5904, allocations: 12.03 kB / 1.519 GB, free: 13.29 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002583/0.5907, allocations: 169.1 kB / 1.52 GB, free: 13.11 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/0.6057, allocations: 2.345 MB / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.6078, allocations: 0.8193 MB / 1.523 GB, free: 9.914 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.6079, allocations: 86.2 kB / 1.523 GB, free: 9.828 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/0.6083, allocations: 108 kB / 1.523 GB, free: 9.723 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008359/0.6166, allocations: 2.298 MB / 1.525 GB, free: 7.359 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.6166, allocations: 0 / 1.525 GB, free: 7.359 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/0.6169, allocations: 48 kB / 1.525 GB, free: 7.312 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.6169, allocations: 24 kB / 1.525 GB, free: 7.289 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.6308, allocations: 3.505 MB / 1.529 GB, free: 3.773 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.6456, allocations: 5.905 MB / 1.534 GB, free: 13.09 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008018/0.6537, allocations: 2.044 MB / 1.536 GB, free: 11.04 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005791/0.6595, allocations: 1.359 MB / 1.538 GB, free: 9.676 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.6596, allocations: 41.09 kB / 1.538 GB, free: 9.637 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006397/0.666, allocations: 1.663 MB / 1.539 GB, free: 7.949 MB / 1.232 GB Notification: Performance of pre-optimization done (n=109): time 5.51e-06/0.666, allocations: 0 / 1.539 GB, free: 7.949 MB / 1.232 GB Notification: Performance of matching and sorting (n=109): time 0.01876/0.6848, allocations: 4.209 MB / 1.543 GB, free: 3.734 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.6849, allocations: 196.9 kB / 1.544 GB, free: 3.5 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.686, allocations: 0.6802 MB / 1.544 GB, free: 2.809 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.6863, allocations: 45.7 kB / 1.544 GB, free: 2.758 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/0.6868, allocations: 457.4 kB / 1.545 GB, free: 2.305 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005283/0.6873, allocations: 376.8 kB / 1.545 GB, free: 1.934 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005037/0.6878, allocations: 194.5 kB / 1.545 GB, free: 1.734 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.688, allocations: 398.7 kB / 1.546 GB, free: 1.336 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005649/0.6937, allocations: 1.298 MB / 1.547 GB, free: 40 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005899/0.6996, allocations: 1.42 MB / 1.548 GB, free: 14.59 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.71, allocations: 2.421 MB / 1.551 GB, free: 12.15 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.7101, allocations: 0 / 1.551 GB, free: 12.15 MB / 1.248 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01214/0.7222, allocations: 2.828 MB / 1.553 GB, free: 9.312 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.7222, allocations: 8 kB / 1.553 GB, free: 9.305 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.7222, allocations: 0 / 1.553 GB, free: 9.305 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006527/0.7229, allocations: 84.89 kB / 1.554 GB, free: 9.219 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/0.7264, allocations: 0.5696 MB / 1.554 GB, free: 8.648 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.7287, allocations: 1.535 MB / 1.556 GB, free: 6.992 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/0.732, allocations: 480.8 kB / 1.556 GB, free: 6.523 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.7323, allocations: 51.89 kB / 1.556 GB, free: 6.473 MB / 1.248 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.0007366/0.733, allocations: 289.5 kB / 1.556 GB, free: 6.18 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.7333, allocations: 95.39 kB / 1.556 GB, free: 6.086 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/0.7461, allocations: 3.234 MB / 1.56 GB, free: 2.84 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.7462, allocations: 16 kB / 1.56 GB, free: 2.824 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7462, allocations: 4 kB / 1.56 GB, free: 2.82 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.7462, allocations: 7.922 kB / 1.56 GB, free: 2.812 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.7622, allocations: 5.19 MB / 1.565 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.7623, allocations: 4 kB / 1.565 GB, free: 13.25 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003417/0.7657, allocations: 0.5658 MB / 1.565 GB, free: 12.69 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004903/0.7662, allocations: 76.78 kB / 1.565 GB, free: 12.61 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/0.7664, allocations: 39.95 kB / 1.565 GB, free: 12.57 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.7684, allocations: 1.559 MB / 1.567 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7684, allocations: 64 / 1.567 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.7807, allocations: 3.04 MB / 1.57 GB, free: 7.828 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009525/0.7817, allocations: 270.8 kB / 1.57 GB, free: 7.562 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004016/0.7821, allocations: 36.05 kB / 1.57 GB, free: 7.527 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/0.7853, allocations: 435.6 kB / 1.571 GB, free: 7.102 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.7856, allocations: 92.81 kB / 1.571 GB, free: 7.012 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/0.7858, allocations: 47.97 kB / 1.571 GB, free: 6.965 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008138/0.7866, allocations: 499 kB / 1.571 GB, free: 6.484 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7866, allocations: 0 / 1.571 GB, free: 6.484 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001271/0.7878, allocations: 415 kB / 1.572 GB, free: 6.078 MB / 1.264 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.01463/0.8025, allocations: 4.105 MB / 1.576 GB, free: 2.121 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01216/0.8146, allocations: 2.927 MB / 1.578 GB, free: 15.18 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.8146, allocations: 0 / 1.578 GB, free: 15.18 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.006326/0.821, allocations: 1.577 MB / 1.58 GB, free: 13.59 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.8226, allocations: 308.8 kB / 1.58 GB, free: 13.31 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04338/0.866, allocations: 13.08 MB / 1.593 GB, free: 68 kB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009214/0.8669, allocations: 1.092 MB / 1.594 GB, free: 14.95 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00184/0.8688, allocations: 387.9 kB / 1.594 GB, free: 14.57 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.8698, allocations: 483.2 kB / 1.595 GB, free: 14.1 MB / 1.295 GB Notification: Performance of SimCode: time 7.41e-07/0.8699, allocations: 0 / 1.595 GB, free: 14.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7334/1.603, allocations: 28.86 MB / 1.623 GB, free: 255.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/16.45, allocations: 11.05 kB / 1.623 GB, free: 255.4 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.530653282999992]