Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_10_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.005238/0.005238, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001151/0.001151, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 59.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3057, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006793/0.3125, allocations: 5.395 MB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7668/1.079, allocations: 150.8 MB / 1.319 GB, free: 9.766 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/1.081, allocations: 15.38 kB / 1.319 GB, free: 9.762 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/1.082, allocations: 211.2 kB / 1.319 GB, free: 9.645 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003223/1.085, allocations: 0.5814 MB / 1.32 GB, free: 9.379 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003226/1.089, allocations: 0.9501 MB / 1.32 GB, free: 9.211 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002703/1.091, allocations: 1.625 MB / 1.322 GB, free: 8.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/1.093, allocations: 0.737 MB / 1.323 GB, free: 8.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/1.094, allocations: 0.5927 MB / 1.323 GB, free: 8.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/1.095, allocations: 0.6498 MB / 1.324 GB, free: 8.434 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006197/1.096, allocations: 142.3 kB / 1.324 GB, free: 8.434 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/1.098, allocations: 0.5239 MB / 1.325 GB, free: 8.371 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008107/1.099, allocations: 366.1 kB / 1.325 GB, free: 8.141 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001862/1.101, allocations: 0.6711 MB / 1.326 GB, free: 7.699 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004076/1.105, allocations: 1.921 MB / 1.327 GB, free: 6.887 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.105, allocations: 0 / 1.327 GB, free: 6.887 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/1.105, allocations: 1.375 kB / 1.327 GB, free: 6.887 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001014/1.105, allocations: 1.453 kB / 1.327 GB, free: 6.887 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.004364/1.109, allocations: 1.679 MB / 1.329 GB, free: 5.812 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.109, allocations: 10.27 kB / 1.329 GB, free: 5.812 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002143/1.11, allocations: 170.5 kB / 1.329 GB, free: 5.703 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005006/1.115, allocations: 0.7595 MB / 1.33 GB, free: 5.605 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/1.116, allocations: 0.8258 MB / 1.331 GB, free: 5.078 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/1.116, allocations: 82.23 kB / 1.331 GB, free: 5.039 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/1.116, allocations: 107.1 kB / 1.331 GB, free: 5.004 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/1.119, allocations: 1.437 MB / 1.332 GB, free: 4.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/1.119, allocations: 1.312 kB / 1.332 GB, free: 4.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/1.12, allocations: 45.53 kB / 1.332 GB, free: 4.395 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/1.12, allocations: 30.97 kB / 1.333 GB, free: 4.391 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004463/1.124, allocations: 1.889 MB / 1.334 GB, free: 3.961 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006157/1.13, allocations: 3.504 MB / 1.338 GB, free: 1.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/1.133, allocations: 1.375 MB / 1.339 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/1.135, allocations: 0.6015 MB / 1.34 GB, free: 1.203 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006705/1.136, allocations: 479.9 kB / 1.34 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/1.137, allocations: 0.8122 MB / 1.341 GB, free: 436 kB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 2.685e-06/1.137, allocations: 0 / 1.341 GB, free: 436 kB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.006012/1.144, allocations: 1.975 MB / 1.343 GB, free: 15.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.144, allocations: 192.5 kB / 1.343 GB, free: 15.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/1.145, allocations: 0.6523 MB / 1.344 GB, free: 15.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.145, allocations: 46.52 kB / 1.344 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/1.145, allocations: 444.7 kB / 1.344 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/1.145, allocations: 351.5 kB / 1.345 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000364/1.146, allocations: 189.4 kB / 1.345 GB, free: 14.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.146, allocations: 398.4 kB / 1.345 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/1.147, allocations: 492.6 kB / 1.346 GB, free: 13.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/1.149, allocations: 0.608 MB / 1.346 GB, free: 13.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/1.152, allocations: 1.066 MB / 1.347 GB, free: 13.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.152, allocations: 1.312 kB / 1.347 GB, free: 13.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003884/1.156, allocations: 1.323 MB / 1.348 GB, free: 12.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.156, allocations: 7.906 kB / 1.348 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.156, allocations: 0.9062 kB / 1.348 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/1.156, allocations: 83.56 kB / 1.349 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.158, allocations: 262 kB / 1.349 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/1.16, allocations: 1.632 MB / 1.35 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/1.161, allocations: 163.3 kB / 1.351 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/1.162, allocations: 42.06 kB / 1.351 GB, free: 11.1 MB / 1.029 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.0006872/1.162, allocations: 286.2 kB / 1.351 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/1.163, allocations: 95.41 kB / 1.351 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/1.167, allocations: 1.68 MB / 1.353 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.167, allocations: 12.78 kB / 1.353 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.167, allocations: 0 / 1.353 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.167, allocations: 7.969 kB / 1.353 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/1.173, allocations: 2.808 MB / 1.355 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.173, allocations: 0 / 1.355 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.174, allocations: 256.8 kB / 1.356 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004267/1.174, allocations: 74.41 kB / 1.356 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.955e-05/1.174, allocations: 30.88 kB / 1.356 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/1.176, allocations: 1.658 MB / 1.357 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.176, allocations: 7.875 kB / 1.357 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/1.18, allocations: 1.532 MB / 1.359 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/1.181, allocations: 318.6 kB / 1.359 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/1.181, allocations: 32.16 kB / 1.359 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.182, allocations: 118.4 kB / 1.359 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/1.182, allocations: 94.67 kB / 1.359 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.182, allocations: 49.12 kB / 1.359 GB, free: 5.109 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005857/1.183, allocations: 471 kB / 1.36 GB, free: 4.844 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.183, allocations: 0 / 1.36 GB, free: 4.844 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00116/1.184, allocations: 395.2 kB / 1.36 GB, free: 4.73 MB / 1.029 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.005349/1.189, allocations: 2.609 MB / 1.363 GB, free: 3.184 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003476/1.193, allocations: 1.362 MB / 1.364 GB, free: 2.504 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.193, allocations: 0 / 1.364 GB, free: 2.504 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/1.194, allocations: 0.8201 MB / 1.365 GB, free: 2.066 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/1.196, allocations: 318.9 kB / 1.365 GB, free: 1.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/1.211, allocations: 8.184 MB / 1.373 GB, free: 13.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/1.212, allocations: 1.082 MB / 1.374 GB, free: 12.21 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001334/1.213, allocations: 347.3 kB / 1.375 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007518/1.214, allocations: 464.2 kB / 1.375 GB, free: 11.65 MB / 1.045 GB Notification: Performance of SimCode: time 1.042e-06/1.214, allocations: 0 / 1.375 GB, free: 11.65 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05651/1.271, allocations: 25.61 MB / 1.4 GB, free: 4.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.77, allocations: 8.188 kB / 1.4 GB, free: 4.719 MB / 1.061 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches