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.001451/0.001451, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001641/0.001641, allocations: 215.6 kB / 22.26 MB, free: 5.082 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 8.035 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.508/3.508, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] 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.002422/0.002422, allocations: 71.38 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4092, allocations: 176.1 MB / 1.326 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.009542/0.4188, allocations: 5.489 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2008/0.6196, allocations: 154.4 MB / 1.482 GB, free: 1.559 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.621, allocations: 23.81 kB / 1.482 GB, free: 1.535 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.6222, allocations: 218 kB / 1.482 GB, free: 1.32 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.625, allocations: 0.6026 MB / 1.483 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.6282, allocations: 0.9915 MB / 1.484 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002789/0.631, allocations: 1.64 MB / 1.485 GB, free: 14.09 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.6324, allocations: 0.51 MB / 1.486 GB, free: 13.54 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.6338, allocations: 0.623 MB / 1.486 GB, free: 12.91 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.635, allocations: 0.6652 MB / 1.487 GB, free: 12.24 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004796/0.6355, allocations: 144 kB / 1.487 GB, free: 12.1 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.6371, allocations: 0.5621 MB / 1.488 GB, free: 11.54 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006488/0.6377, allocations: 370.8 kB / 1.488 GB, free: 11.18 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.639, allocations: 0.6724 MB / 1.489 GB, free: 10.5 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.643, allocations: 1.973 MB / 1.491 GB, free: 8.52 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.643, allocations: 0 / 1.491 GB, free: 8.52 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.184e-06/0.643, allocations: 0 / 1.491 GB, free: 8.52 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.575e-05/0.6431, allocations: 0 / 1.491 GB, free: 8.52 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.004753/0.6479, allocations: 1.673 MB / 1.492 GB, free: 6.809 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.6479, allocations: 12.03 kB / 1.492 GB, free: 6.797 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003531/0.6483, allocations: 169.1 kB / 1.493 GB, free: 6.621 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006695/0.655, allocations: 0.8154 MB / 1.493 GB, free: 5.805 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.6576, allocations: 0.7921 MB / 1.494 GB, free: 4.984 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.6577, allocations: 82.2 kB / 1.494 GB, free: 4.902 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000405/0.6581, allocations: 108 kB / 1.494 GB, free: 4.797 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004498/0.6626, allocations: 1.44 MB / 1.496 GB, free: 3.293 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.6627, allocations: 0 / 1.496 GB, free: 3.293 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.6628, allocations: 44 kB / 1.496 GB, free: 3.25 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.6629, allocations: 24 kB / 1.496 GB, free: 3.227 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005197/0.6681, allocations: 1.893 MB / 1.498 GB, free: 1.324 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008796/0.6769, allocations: 3.554 MB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/0.6808, allocations: 1.222 MB / 1.502 GB, free: 12.39 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.6825, allocations: 0.5459 MB / 1.503 GB, free: 11.84 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.6831, allocations: 105 kB / 1.503 GB, free: 11.74 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002231/0.6853, allocations: 0.8049 MB / 1.504 GB, free: 10.91 MB / 1.201 GB Notification: Performance of pre-optimization done (n=109): time 4.438e-06/0.6853, allocations: 0 / 1.504 GB, free: 10.91 MB / 1.201 GB Notification: Performance of matching and sorting (n=109): time 0.006862/0.6922, allocations: 1.918 MB / 1.506 GB, free: 8.988 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.6923, allocations: 192.9 kB / 1.506 GB, free: 8.758 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.6936, allocations: 0.6724 MB / 1.506 GB, free: 8.074 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.6938, allocations: 49.7 kB / 1.506 GB, free: 8.02 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/0.6943, allocations: 461.3 kB / 1.507 GB, free: 7.562 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.6947, allocations: 368.8 kB / 1.507 GB, free: 7.199 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/0.6952, allocations: 186.5 kB / 1.507 GB, free: 7.008 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.6954, allocations: 402.7 kB / 1.508 GB, free: 6.605 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.6969, allocations: 497.7 kB / 1.508 GB, free: 6.121 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.6987, allocations: 0.6047 MB / 1.509 GB, free: 5.488 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.7019, allocations: 1.062 MB / 1.51 GB, free: 4.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.7019, allocations: 3.938 kB / 1.51 GB, free: 4.406 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004382/0.7063, allocations: 1.325 MB / 1.511 GB, free: 3.07 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.7063, allocations: 12 kB / 1.511 GB, free: 3.059 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7063, allocations: 0 / 1.511 GB, free: 3.059 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006567/0.707, allocations: 88.7 kB / 1.511 GB, free: 2.969 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.7084, allocations: 259.6 kB / 1.512 GB, free: 2.715 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.7109, allocations: 1.537 MB / 1.513 GB, free: 1.059 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.7124, allocations: 161.6 kB / 1.513 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.7125, allocations: 43.91 kB / 1.513 GB, free: 0.8594 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.0008421/0.7134, allocations: 286.1 kB / 1.514 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/0.7138, allocations: 107.3 kB / 1.514 GB, free: 476 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/0.719, allocations: 1.676 MB / 1.515 GB, free: 14.77 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.719, allocations: 12 kB / 1.515 GB, free: 14.76 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.719, allocations: 0 / 1.515 GB, free: 14.76 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.719, allocations: 11.91 kB / 1.515 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00719/0.7262, allocations: 2.792 MB / 1.518 GB, free: 11.91 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7262, allocations: 7.938 kB / 1.518 GB, free: 11.9 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.7276, allocations: 247.6 kB / 1.518 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.7281, allocations: 72.78 kB / 1.518 GB, free: 11.58 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.7282, allocations: 39.97 kB / 1.518 GB, free: 11.54 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.7305, allocations: 1.559 MB / 1.52 GB, free: 9.855 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7305, allocations: 0 / 1.52 GB, free: 9.855 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004774/0.7353, allocations: 1.533 MB / 1.521 GB, free: 8.305 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007995/0.7361, allocations: 258.8 kB / 1.522 GB, free: 8.051 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/0.7363, allocations: 20 kB / 1.522 GB, free: 8.031 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.7378, allocations: 123.9 kB / 1.522 GB, free: 7.91 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.738, allocations: 88.83 kB / 1.522 GB, free: 7.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.7381, allocations: 43.97 kB / 1.522 GB, free: 7.777 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008847/0.739, allocations: 0.4912 MB / 1.522 GB, free: 7.293 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.739, allocations: 0 / 1.522 GB, free: 7.293 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001411/0.7404, allocations: 395 kB / 1.523 GB, free: 6.906 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.007255/0.7477, allocations: 2.623 MB / 1.525 GB, free: 4.438 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004256/0.7519, allocations: 1.304 MB / 1.527 GB, free: 3.121 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.752, allocations: 8 kB / 1.527 GB, free: 3.113 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.7542, allocations: 0.7616 MB / 1.527 GB, free: 2.344 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.7561, allocations: 317.1 kB / 1.528 GB, free: 2.051 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/0.7768, allocations: 8.308 MB / 1.536 GB, free: 9.59 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.7778, allocations: 1.088 MB / 1.537 GB, free: 8.473 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001605/0.7795, allocations: 344 kB / 1.537 GB, free: 8.133 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009698/0.7804, allocations: 479.2 kB / 1.538 GB, free: 7.664 MB / 1.232 GB Notification: Performance of SimCode: time 7.51e-07/0.7804, allocations: 0 / 1.538 GB, free: 7.664 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08777/0.8682, allocations: 26.72 MB / 1.564 GB, free: 13.21 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.79, allocations: 2.188 kB / 1.564 GB, free: 13.21 MB / 1.264 GB " [Timeout remaining time 284] (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: 23.218472752021626]