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.001821/0.001821, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002572/0.002572, allocations: 215.8 kB / 22.25 MB, free: 5.105 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.84 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.063/3.063, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.001925/0.001925, allocations: 74.19 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3737, allocations: 176.1 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007482/0.3812, allocations: 4.874 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.5592, allocations: 132.9 MB / 1.46 GB, free: 7.258 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.5603, allocations: 23.81 kB / 1.46 GB, free: 7.234 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.5611, allocations: 218 kB / 1.461 GB, free: 7.02 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.5631, allocations: 0.5937 MB / 1.461 GB, free: 6.426 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.5656, allocations: 0.9839 MB / 1.462 GB, free: 5.449 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002058/0.5676, allocations: 1.632 MB / 1.464 GB, free: 3.812 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009244/0.5685, allocations: 0.5139 MB / 1.464 GB, free: 3.254 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009473/0.5695, allocations: 0.6191 MB / 1.465 GB, free: 2.633 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008843/0.5704, allocations: 0.6651 MB / 1.466 GB, free: 1.965 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.5706, allocations: 148 kB / 1.466 GB, free: 1.82 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.5718, allocations: 0.5426 MB / 1.466 GB, free: 1.277 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.5722, allocations: 362.9 kB / 1.467 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006011/0.5728, allocations: 0.556 MB / 1.467 GB, free: 372 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.5755, allocations: 1.981 MB / 1.469 GB, free: 14.38 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5755, allocations: 0 / 1.469 GB, free: 14.38 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5755, allocations: 0 / 1.469 GB, free: 14.38 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.5755, allocations: 0 / 1.469 GB, free: 14.38 MB / 1.17 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.003453/0.579, allocations: 1.677 MB / 1.471 GB, free: 12.66 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.579, allocations: 11.97 kB / 1.471 GB, free: 12.65 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002157/0.5792, allocations: 165.1 kB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.5856, allocations: 0.8154 MB / 1.472 GB, free: 11.66 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.5874, allocations: 0.7882 MB / 1.472 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.5875, allocations: 78.2 kB / 1.472 GB, free: 10.77 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.5877, allocations: 111.9 kB / 1.473 GB, free: 10.66 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/0.5914, allocations: 1.687 MB / 1.474 GB, free: 8.844 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.5914, allocations: 0 / 1.474 GB, free: 8.844 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.5915, allocations: 51.98 kB / 1.474 GB, free: 8.793 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.5915, allocations: 24 kB / 1.474 GB, free: 8.77 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004757/0.5963, allocations: 1.839 MB / 1.476 GB, free: 6.922 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006901/0.6032, allocations: 2.899 MB / 1.479 GB, free: 3.953 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/0.6066, allocations: 1.223 MB / 1.48 GB, free: 2.727 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.6081, allocations: 0.5436 MB / 1.481 GB, free: 2.176 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005553/0.6087, allocations: 84.91 kB / 1.481 GB, free: 2.094 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002077/0.6108, allocations: 0.9092 MB / 1.482 GB, free: 1.141 MB / 1.17 GB Notification: Performance of pre-optimization done (n=109): time 3.096e-06/0.6108, allocations: 0 / 1.482 GB, free: 1.141 MB / 1.17 GB Notification: Performance of matching and sorting (n=109): time 0.00628/0.6171, allocations: 1.906 MB / 1.483 GB, free: 15.23 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.6172, allocations: 196.9 kB / 1.484 GB, free: 14.99 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.6183, allocations: 0.6724 MB / 1.484 GB, free: 14.31 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.6184, allocations: 53.69 kB / 1.484 GB, free: 14.25 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.6188, allocations: 457.3 kB / 1.485 GB, free: 13.8 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/0.6192, allocations: 377 kB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.6196, allocations: 186.6 kB / 1.485 GB, free: 13.23 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.6198, allocations: 402.7 kB / 1.486 GB, free: 12.83 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.6212, allocations: 0.4898 MB / 1.486 GB, free: 12.34 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.6229, allocations: 0.7303 MB / 1.487 GB, free: 11.55 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002972/0.6258, allocations: 1.066 MB / 1.488 GB, free: 10.47 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6258, allocations: 0 / 1.488 GB, free: 10.47 MB / 1.186 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004315/0.6301, allocations: 1.325 MB / 1.489 GB, free: 9.141 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.6302, allocations: 4 kB / 1.489 GB, free: 9.137 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.6302, allocations: 7.984 kB / 1.489 GB, free: 9.129 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007168/0.6309, allocations: 80.91 kB / 1.489 GB, free: 9.047 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.6324, allocations: 259.6 kB / 1.49 GB, free: 8.793 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.6351, allocations: 1.525 MB / 1.491 GB, free: 7.148 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.6367, allocations: 167.3 kB / 1.491 GB, free: 6.984 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.6368, allocations: 51.91 kB / 1.491 GB, free: 6.934 MB / 1.186 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.0007735/0.6376, allocations: 290 kB / 1.492 GB, free: 6.641 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.6378, allocations: 99.38 kB / 1.492 GB, free: 6.543 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00494/0.6428, allocations: 1.673 MB / 1.493 GB, free: 4.852 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.6428, allocations: 16 kB / 1.493 GB, free: 4.836 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6428, allocations: 0 / 1.493 GB, free: 4.836 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.6428, allocations: 15.84 kB / 1.493 GB, free: 4.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/0.649, allocations: 2.617 MB / 1.496 GB, free: 2.148 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.649, allocations: 3.938 kB / 1.496 GB, free: 2.145 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.6504, allocations: 251.7 kB / 1.496 GB, free: 1.898 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.6508, allocations: 76.78 kB / 1.496 GB, free: 1.82 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.544e-05/0.6509, allocations: 31.97 kB / 1.496 GB, free: 1.789 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.6529, allocations: 1.554 MB / 1.498 GB, free: 112 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6529, allocations: 0 / 1.498 GB, free: 112 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004253/0.6572, allocations: 1.537 MB / 1.499 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/0.6579, allocations: 254.9 kB / 1.499 GB, free: 14.3 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.6581, allocations: 24 kB / 1.499 GB, free: 14.28 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.6594, allocations: 125.9 kB / 1.5 GB, free: 14.16 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.6596, allocations: 92.83 kB / 1.5 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.6597, allocations: 48.03 kB / 1.5 GB, free: 14.02 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006916/0.6604, allocations: 495 kB / 1.5 GB, free: 13.54 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6604, allocations: 0 / 1.5 GB, free: 13.54 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001146/0.6615, allocations: 399 kB / 1.501 GB, free: 13.15 MB / 1.201 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.006662/0.6682, allocations: 2.66 MB / 1.503 GB, free: 10.68 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003961/0.6721, allocations: 1.3 MB / 1.504 GB, free: 9.363 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6721, allocations: 0 / 1.504 GB, free: 9.363 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.6741, allocations: 0.7655 MB / 1.505 GB, free: 8.59 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.6757, allocations: 322.1 kB / 1.506 GB, free: 8.293 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.6934, allocations: 8.306 MB / 1.514 GB, free: 15.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/0.694, allocations: 0.4905 MB / 1.514 GB, free: 15.31 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001366/0.6954, allocations: 339.9 kB / 1.514 GB, free: 14.97 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008135/0.6962, allocations: 479.2 kB / 1.515 GB, free: 14.5 MB / 1.217 GB Notification: Performance of SimCode: time 1.393e-06/0.6962, allocations: 0 / 1.515 GB, free: 14.5 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07036/0.7666, allocations: 28.05 MB / 1.542 GB, free: 2.816 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14, allocations: 11.98 kB / 1.542 GB, free: 2.805 MB / 1.233 GB " [Timeout remaining time 286] (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: 20.817216780007584]