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.001682/0.001682, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002331/0.002331, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.099/3.099, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="cs",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.001926/0.001926, allocations: 62.61 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3425, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007859/0.3504, allocations: 5.489 MB / 1.351 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1819/0.5322, allocations: 154.4 MB / 1.501 GB, free: 15.99 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009741/0.5332, allocations: 27.81 kB / 1.501 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000879/0.5341, allocations: 213.9 kB / 1.502 GB, free: 15.76 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.5364, allocations: 0.5984 MB / 1.502 GB, free: 15.16 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.5389, allocations: 0.9906 MB / 1.503 GB, free: 14.18 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002305/0.5412, allocations: 1.64 MB / 1.505 GB, free: 12.53 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.5423, allocations: 0.5062 MB / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.5434, allocations: 0.623 MB / 1.506 GB, free: 11.36 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009797/0.5444, allocations: 0.6574 MB / 1.507 GB, free: 10.7 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.5446, allocations: 148 kB / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.5457, allocations: 0.5581 MB / 1.507 GB, free: 9.996 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.5461, allocations: 366.9 kB / 1.508 GB, free: 9.637 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007475/0.5469, allocations: 0.684 MB / 1.508 GB, free: 8.949 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.5497, allocations: 1.969 MB / 1.51 GB, free: 6.973 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5497, allocations: 0 / 1.51 GB, free: 6.973 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5497, allocations: 3.938 kB / 1.51 GB, free: 6.969 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.058e-05/0.5498, allocations: 0 / 1.51 GB, free: 6.969 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003621/0.5534, allocations: 1.669 MB / 1.512 GB, free: 5.262 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5534, allocations: 12.03 kB / 1.512 GB, free: 5.25 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.802e-05/0.5535, allocations: 30.33 kB / 1.512 GB, free: 5.219 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002057/0.5537, allocations: 169.1 kB / 1.512 GB, free: 5.043 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.5689, allocations: 2.349 MB / 1.514 GB, free: 2.691 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.571, allocations: 0.8192 MB / 1.515 GB, free: 1.844 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.086e-05/0.5711, allocations: 86.19 kB / 1.515 GB, free: 1.758 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/0.5714, allocations: 100 kB / 1.515 GB, free: 1.66 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007968/0.5793, allocations: 2.298 MB / 1.518 GB, free: 15.3 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.5793, allocations: 3.938 kB / 1.518 GB, free: 15.29 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.5795, allocations: 52 kB / 1.518 GB, free: 15.24 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.5795, allocations: 28 kB / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/0.5929, allocations: 3.497 MB / 1.521 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.6065, allocations: 5.904 MB / 1.527 GB, free: 5.02 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007703/0.6142, allocations: 2.026 MB / 1.529 GB, free: 2.988 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005603/0.6198, allocations: 1.366 MB / 1.53 GB, free: 1.617 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.62, allocations: 41.03 kB / 1.53 GB, free: 1.574 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006336/0.6263, allocations: 1.663 MB / 1.532 GB, free: 15.89 MB / 1.232 GB Notification: Performance of pre-optimization done (n=109): time 3.727e-06/0.6263, allocations: 0 / 1.532 GB, free: 15.89 MB / 1.232 GB Notification: Performance of matching and sorting (n=109): time 0.01882/0.6451, allocations: 4.213 MB / 1.536 GB, free: 11.67 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.6453, allocations: 192.9 kB / 1.536 GB, free: 11.44 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.6465, allocations: 0.6841 MB / 1.537 GB, free: 10.75 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.6468, allocations: 45.7 kB / 1.537 GB, free: 10.7 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.6473, allocations: 457.4 kB / 1.537 GB, free: 10.24 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005714/0.6479, allocations: 372.8 kB / 1.538 GB, free: 9.875 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000572/0.6484, allocations: 198.5 kB / 1.538 GB, free: 9.676 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002343/0.6487, allocations: 402.7 kB / 1.538 GB, free: 9.273 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005604/0.6543, allocations: 1.29 MB / 1.539 GB, free: 7.98 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005811/0.6601, allocations: 1.417 MB / 1.541 GB, free: 6.535 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.6706, allocations: 2.424 MB / 1.543 GB, free: 4.098 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.6706, allocations: 0 / 1.543 GB, free: 4.098 MB / 1.232 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01255/0.6832, allocations: 2.832 MB / 1.546 GB, free: 1.254 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.6832, allocations: 4 kB / 1.546 GB, free: 1.25 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.6832, allocations: 4 kB / 1.546 GB, free: 1.246 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006519/0.6839, allocations: 88.83 kB / 1.546 GB, free: 1.156 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/0.6874, allocations: 0.5658 MB / 1.547 GB, free: 0.5898 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.6898, allocations: 1.531 MB / 1.548 GB, free: 14.94 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003401/0.6932, allocations: 480.4 kB / 1.549 GB, free: 14.47 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/0.6935, allocations: 47.95 kB / 1.549 GB, free: 14.43 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.0008951/0.6944, allocations: 289.5 kB / 1.549 GB, free: 14.13 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/0.6948, allocations: 99.39 kB / 1.549 GB, free: 14.04 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.708, allocations: 3.234 MB / 1.552 GB, free: 10.78 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.708, allocations: 12 kB / 1.552 GB, free: 10.77 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.708, allocations: 0 / 1.552 GB, free: 10.77 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/0.7081, allocations: 7.922 kB / 1.552 GB, free: 10.76 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.724, allocations: 5.209 MB / 1.557 GB, free: 5.191 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.724, allocations: 0 / 1.557 GB, free: 5.191 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003387/0.7274, allocations: 0.5658 MB / 1.558 GB, free: 4.625 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/0.7279, allocations: 72.78 kB / 1.558 GB, free: 4.551 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002631/0.7282, allocations: 43.89 kB / 1.558 GB, free: 4.508 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.7302, allocations: 1.555 MB / 1.559 GB, free: 2.832 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7302, allocations: 0 / 1.559 GB, free: 2.832 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.743, allocations: 3.04 MB / 1.562 GB, free: 15.77 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.744, allocations: 278.8 kB / 1.563 GB, free: 15.49 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/0.7444, allocations: 23.98 kB / 1.563 GB, free: 15.47 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003299/0.7477, allocations: 447.7 kB / 1.563 GB, free: 15.03 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/0.748, allocations: 88.81 kB / 1.563 GB, free: 14.95 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/0.7482, allocations: 47.97 kB / 1.563 GB, free: 14.9 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008372/0.7491, allocations: 495 kB / 1.564 GB, free: 14.42 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.7491, allocations: 0 / 1.564 GB, free: 14.42 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001459/0.7505, allocations: 419 kB / 1.564 GB, free: 14.01 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.015/0.7655, allocations: 4.109 MB / 1.568 GB, free: 10.06 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01249/0.778, allocations: 2.931 MB / 1.571 GB, free: 7.109 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.778, allocations: 0 / 1.571 GB, free: 7.109 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00648/0.7845, allocations: 1.577 MB / 1.572 GB, free: 5.52 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.7865, allocations: 318.7 kB / 1.573 GB, free: 5.23 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04475/0.8312, allocations: 13.08 MB / 1.586 GB, free: 7.988 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.8322, allocations: 1.092 MB / 1.587 GB, free: 6.867 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001943/0.8342, allocations: 379.9 kB / 1.587 GB, free: 6.492 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.8353, allocations: 483.2 kB / 1.587 GB, free: 6.023 MB / 1.279 GB Notification: Performance of SimCode: time 1.042e-06/0.8353, allocations: 0 / 1.587 GB, free: 6.023 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6601/1.495, allocations: 28.87 MB / 1.616 GB, free: 264 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.56, allocations: 6.938 kB / 1.616 GB, free: 264 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.483936505042948]