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.001377/0.001377, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001795/0.001795, allocations: 216.9 kB / 23.03 MB, free: 4.922 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.231/3.231, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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="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.002028/0.002028, allocations: 67.05 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3912, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007592/0.3988, allocations: 4.859 MB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.177/0.5758, allocations: 132.8 MB / 1.48 GB, free: 5.734 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5768, allocations: 23.81 kB / 1.48 GB, free: 5.711 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.5775, allocations: 210 kB / 1.48 GB, free: 5.504 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.5795, allocations: 0.5975 MB / 1.481 GB, free: 4.906 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.5817, allocations: 0.9706 MB / 1.481 GB, free: 3.941 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.5839, allocations: 1.64 MB / 1.483 GB, free: 2.293 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.5851, allocations: 0.51 MB / 1.484 GB, free: 1.746 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.5863, allocations: 0.6152 MB / 1.484 GB, free: 1.129 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.5873, allocations: 0.6613 MB / 1.485 GB, free: 476 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.5876, allocations: 144 kB / 1.485 GB, free: 332 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.5889, allocations: 0.5504 MB / 1.486 GB, free: 15.77 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.5893, allocations: 366.8 kB / 1.486 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006188/0.5899, allocations: 0.552 MB / 1.486 GB, free: 14.86 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.5926, allocations: 1.977 MB / 1.488 GB, free: 12.88 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.5926, allocations: 4 kB / 1.488 GB, free: 12.87 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5926, allocations: 0 / 1.488 GB, free: 12.87 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.43e-05/0.5926, allocations: 0 / 1.488 GB, free: 12.87 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.003391/0.596, allocations: 1.673 MB / 1.49 GB, free: 11.16 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5961, allocations: 8.031 kB / 1.49 GB, free: 11.15 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.852e-05/0.5961, allocations: 30.39 kB / 1.49 GB, free: 11.12 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.5963, allocations: 165.1 kB / 1.49 GB, free: 10.95 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.6123, allocations: 2.357 MB / 1.492 GB, free: 8.59 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.6143, allocations: 0.8153 MB / 1.493 GB, free: 7.746 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/0.6144, allocations: 86.19 kB / 1.493 GB, free: 7.66 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.6146, allocations: 104 kB / 1.493 GB, free: 7.559 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008508/0.6231, allocations: 2.545 MB / 1.496 GB, free: 4.887 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.6232, allocations: 3.938 kB / 1.496 GB, free: 4.883 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.6233, allocations: 48 kB / 1.496 GB, free: 4.836 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.6234, allocations: 28 kB / 1.496 GB, free: 4.809 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.6371, allocations: 3.505 MB / 1.499 GB, free: 1.293 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.6497, allocations: 5.178 MB / 1.504 GB, free: 11.42 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007669/0.6573, allocations: 2.027 MB / 1.506 GB, free: 9.391 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005572/0.6629, allocations: 1.35 MB / 1.508 GB, free: 8.035 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.663, allocations: 40.89 kB / 1.508 GB, free: 7.992 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006121/0.6691, allocations: 1.764 MB / 1.51 GB, free: 6.188 MB / 1.201 GB Notification: Performance of pre-optimization done (n=109): time 4.068e-06/0.6691, allocations: 0 / 1.51 GB, free: 6.188 MB / 1.201 GB Notification: Performance of matching and sorting (n=109): time 0.01823/0.6874, allocations: 4.209 MB / 1.514 GB, free: 1.965 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.6875, allocations: 196.9 kB / 1.514 GB, free: 1.73 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.6885, allocations: 0.6763 MB / 1.515 GB, free: 1.047 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002383/0.6888, allocations: 53.69 kB / 1.515 GB, free: 0.9883 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.6892, allocations: 457.4 kB / 1.515 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.6896, allocations: 372.8 kB / 1.515 GB, free: 172 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004512/0.69, allocations: 198.5 kB / 1.516 GB, free: 15.97 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.6902, allocations: 398.7 kB / 1.516 GB, free: 15.57 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005768/0.696, allocations: 1.29 MB / 1.517 GB, free: 14.28 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005985/0.702, allocations: 1.546 MB / 1.519 GB, free: 12.67 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/0.7124, allocations: 2.421 MB / 1.521 GB, free: 10.24 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.7124, allocations: 0 / 1.521 GB, free: 10.24 MB / 1.217 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01187/0.7243, allocations: 2.832 MB / 1.524 GB, free: 7.395 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.7243, allocations: 4 kB / 1.524 GB, free: 7.391 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7243, allocations: 0 / 1.524 GB, free: 7.391 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/0.725, allocations: 88.89 kB / 1.524 GB, free: 7.301 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/0.7283, allocations: 0.5735 MB / 1.524 GB, free: 6.727 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.7305, allocations: 1.515 MB / 1.526 GB, free: 5.094 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/0.7339, allocations: 480.9 kB / 1.526 GB, free: 4.625 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.7342, allocations: 47.95 kB / 1.526 GB, free: 4.578 MB / 1.217 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.0008572/0.735, allocations: 291 kB / 1.527 GB, free: 4.285 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/0.7355, allocations: 107.3 kB / 1.527 GB, free: 4.18 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.7485, allocations: 3.234 MB / 1.53 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.7485, allocations: 16 kB / 1.53 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7485, allocations: 0 / 1.53 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/0.7485, allocations: 11.91 kB / 1.53 GB, free: 0.8984 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.764, allocations: 4.968 MB / 1.535 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.764, allocations: 0 / 1.535 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003403/0.7674, allocations: 0.5735 MB / 1.535 GB, free: 10.99 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.7679, allocations: 68.8 kB / 1.535 GB, free: 10.92 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/0.7681, allocations: 39.95 kB / 1.536 GB, free: 10.88 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.7702, allocations: 1.543 MB / 1.537 GB, free: 9.223 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7702, allocations: 8.078 kB / 1.537 GB, free: 9.215 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.7825, allocations: 3.036 MB / 1.54 GB, free: 6.156 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008874/0.7834, allocations: 282.8 kB / 1.54 GB, free: 5.879 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.7837, allocations: 20 kB / 1.54 GB, free: 5.859 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003183/0.7869, allocations: 439.6 kB / 1.541 GB, free: 5.43 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.7872, allocations: 92.81 kB / 1.541 GB, free: 5.34 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.7873, allocations: 47.95 kB / 1.541 GB, free: 5.293 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007426/0.7881, allocations: 495 kB / 1.541 GB, free: 4.812 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7881, allocations: 0 / 1.541 GB, free: 4.812 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001275/0.7893, allocations: 423 kB / 1.542 GB, free: 4.398 MB / 1.232 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.01474/0.8041, allocations: 4.136 MB / 1.546 GB, free: 460 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01241/0.8165, allocations: 2.939 MB / 1.549 GB, free: 13.49 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.8165, allocations: 0 / 1.549 GB, free: 13.49 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.006528/0.823, allocations: 1.573 MB / 1.55 GB, free: 11.91 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.8251, allocations: 317.1 kB / 1.55 GB, free: 11.62 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04475/0.8699, allocations: 13.08 MB / 1.563 GB, free: 14.38 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/0.8706, allocations: 0.4982 MB / 1.564 GB, free: 13.84 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001972/0.8726, allocations: 391.8 kB / 1.564 GB, free: 13.46 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.8737, allocations: 483.2 kB / 1.565 GB, free: 12.98 MB / 1.264 GB Notification: Performance of SimCode: time 1.192e-06/0.8737, allocations: 3.938 kB / 1.565 GB, free: 12.98 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06617/0.9398, allocations: 29.87 MB / 1.594 GB, free: 15.45 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.06, allocations: 12 kB / 1.594 GB, free: 15.44 MB / 1.295 GB " [Timeout remaining time 284] (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.105158088961616]