Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006159/0.00616, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 200.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 58.59 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2351, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005522/0.2407, allocations: 4.645 MB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1383/0.379, allocations: 150.8 MB / 1.239 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007508/0.3798, allocations: 23.81 kB / 1.239 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.3804, allocations: 178.3 kB / 1.239 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.3819, allocations: 0.5209 MB / 1.24 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.3839, allocations: 0.9397 MB / 1.241 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.3852, allocations: 1.5 MB / 1.242 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009331/0.3862, allocations: 0.782 MB / 1.243 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.3868, allocations: 0.5801 MB / 1.244 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005889/0.3874, allocations: 0.634 MB / 1.244 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.3875, allocations: 144 kB / 1.244 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008188/0.3884, allocations: 0.5152 MB / 1.245 GB, free: 172 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.3887, allocations: 358.9 kB / 1.245 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.3891, allocations: 0.6528 MB / 1.246 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.391, allocations: 1.88 MB / 1.248 GB, free: 13.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.391, allocations: 4 kB / 1.248 GB, free: 13.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.804e-06/0.391, allocations: 0 / 1.248 GB, free: 13.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.391, allocations: 0 / 1.248 GB, free: 13.27 MB / 1.014 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.002887/0.3939, allocations: 1.701 MB / 1.249 GB, free: 11.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.394, allocations: 16.02 kB / 1.249 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.3942, allocations: 161.1 kB / 1.25 GB, free: 11.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/0.3992, allocations: 0.7685 MB / 1.25 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.4005, allocations: 0.8401 MB / 1.251 GB, free: 9.672 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.4006, allocations: 82.2 kB / 1.251 GB, free: 9.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.4008, allocations: 108 kB / 1.251 GB, free: 9.484 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003092/0.4038, allocations: 1.432 MB / 1.253 GB, free: 7.988 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.4039, allocations: 0 / 1.253 GB, free: 7.988 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.404, allocations: 48 kB / 1.253 GB, free: 7.941 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.404, allocations: 24 kB / 1.253 GB, free: 7.918 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004427/0.4085, allocations: 1.889 MB / 1.255 GB, free: 6.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.4142, allocations: 3.25 MB / 1.258 GB, free: 2.703 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.4175, allocations: 1.374 MB / 1.259 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.419, allocations: 0.5933 MB / 1.26 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/0.4196, allocations: 474.6 kB / 1.26 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4557/0.8753, allocations: 0.8036 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 3.787e-06/0.8754, allocations: 1.594 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.006051/0.8814, allocations: 1.972 MB / 1.263 GB, free: 173.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.8815, allocations: 200.8 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008384/0.8823, allocations: 0.6493 MB / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.414e-05/0.8824, allocations: 48.27 kB / 1.264 GB, free: 172.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.8827, allocations: 448.2 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.883, allocations: 373.6 kB / 1.265 GB, free: 172.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.8833, allocations: 188.2 kB / 1.265 GB, free: 172.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.8834, allocations: 398.5 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.8848, allocations: 492 kB / 1.266 GB, free: 171.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.8864, allocations: 0.6048 MB / 1.266 GB, free: 171.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.8892, allocations: 1.055 MB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.8892, allocations: 0.7812 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003812/0.893, allocations: 1.33 MB / 1.268 GB, free: 170.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.8931, allocations: 6.109 kB / 1.268 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.8931, allocations: 2.531 kB / 1.268 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/0.8936, allocations: 86.08 kB / 1.269 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.895, allocations: 259.1 kB / 1.269 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.8967, allocations: 1.63 MB / 1.27 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.8979, allocations: 164.7 kB / 1.271 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/0.898, allocations: 43.14 kB / 1.271 GB, free: 169.1 MB / 1.014 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.0004627/0.8985, allocations: 294.7 kB / 1.271 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.8987, allocations: 97.31 kB / 1.271 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/0.9037, allocations: 1.674 MB / 1.273 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.9038, allocations: 11.81 kB / 1.273 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9038, allocations: 4.469 kB / 1.273 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.9038, allocations: 11 kB / 1.273 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005977/0.9098, allocations: 2.846 MB / 1.275 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.9098, allocations: 0 / 1.275 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.9111, allocations: 255.8 kB / 1.276 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/0.9115, allocations: 73.97 kB / 1.276 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.852e-05/0.9116, allocations: 34.83 kB / 1.276 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.9132, allocations: 1.669 MB / 1.277 GB, free: 165.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9132, allocations: 1.078 kB / 1.277 GB, free: 165.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.9173, allocations: 1.531 MB / 1.279 GB, free: 164.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.9179, allocations: 324.7 kB / 1.279 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.9181, allocations: 26.03 kB / 1.279 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.9193, allocations: 120.5 kB / 1.279 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.9195, allocations: 85 kB / 1.279 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.9196, allocations: 53.55 kB / 1.279 GB, free: 164.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005769/0.9202, allocations: 475.8 kB / 1.28 GB, free: 164.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9202, allocations: 4 kB / 1.28 GB, free: 164.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001066/0.9212, allocations: 382.9 kB / 1.28 GB, free: 164.3 MB / 1.014 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.005401/0.9267, allocations: 2.614 MB / 1.283 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00364/0.9303, allocations: 1.349 MB / 1.284 GB, free: 162.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.9303, allocations: 0 / 1.284 GB, free: 162.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.9322, allocations: 0.8275 MB / 1.285 GB, free: 162.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.9336, allocations: 304.6 kB / 1.285 GB, free: 162.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/0.9502, allocations: 8.337 MB / 1.293 GB, free: 158.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.9508, allocations: 1.089 MB / 1.294 GB, free: 157.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001282/0.9521, allocations: 339.1 kB / 1.295 GB, free: 157.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/0.9528, allocations: 466.9 kB / 1.295 GB, free: 157 MB / 1.014 GB Notification: Performance of SimCode: time 7.31e-07/0.9528, allocations: 0 / 1.295 GB, free: 157 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04631/0.9991, allocations: 25.51 MB / 1.32 GB, free: 140.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.15, allocations: 8.375 kB / 1.32 GB, free: 140.1 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches