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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_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.006413/0.006413, allocations: 101.7 kB / 15.73 MB, free: 6.012 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.001453/0.001453, allocations: 195.2 kB / 16.67 MB, free: 5.949 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 1.054 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2728, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006816/0.2797, allocations: 5.39 MB / 1.213 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7378/1.017, allocations: 150.8 MB / 1.36 GB, free: 8.871 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009012/1.018, allocations: 17.06 kB / 1.36 GB, free: 8.867 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008147/1.019, allocations: 203.2 kB / 1.36 GB, free: 8.734 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/1.021, allocations: 0.5788 MB / 1.361 GB, free: 8.395 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/1.024, allocations: 0.9494 MB / 1.362 GB, free: 7.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001998/1.026, allocations: 1.614 MB / 1.363 GB, free: 7.098 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/1.027, allocations: 0.7503 MB / 1.364 GB, free: 6.691 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009714/1.028, allocations: 0.5898 MB / 1.364 GB, free: 6.406 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/1.029, allocations: 0.6503 MB / 1.365 GB, free: 6.074 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003687/1.029, allocations: 143.3 kB / 1.365 GB, free: 6.074 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/1.031, allocations: 0.521 MB / 1.366 GB, free: 5.957 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004364/1.031, allocations: 367.8 kB / 1.366 GB, free: 5.727 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009761/1.032, allocations: 0.6745 MB / 1.367 GB, free: 5.281 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002453/1.035, allocations: 1.915 MB / 1.369 GB, free: 4.473 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.035, allocations: 0 / 1.369 GB, free: 4.473 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.843e-06/1.035, allocations: 3.875 kB / 1.369 GB, free: 4.473 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.704e-05/1.035, allocations: 0 / 1.369 GB, free: 4.473 MB / 1.061 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.00404/1.039, allocations: 1.679 MB / 1.37 GB, free: 3.398 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.039, allocations: 9.781 kB / 1.37 GB, free: 3.398 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002836/1.039, allocations: 170.3 kB / 1.37 GB, free: 3.285 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005084/1.044, allocations: 0.7551 MB / 1.371 GB, free: 3.145 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/1.046, allocations: 0.8267 MB / 1.372 GB, free: 2.469 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-05/1.046, allocations: 83.33 kB / 1.372 GB, free: 2.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/1.046, allocations: 106 kB / 1.372 GB, free: 2.395 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/1.05, allocations: 1.438 MB / 1.374 GB, free: 1.496 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.05, allocations: 0 / 1.374 GB, free: 1.496 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/1.05, allocations: 43.38 kB / 1.374 GB, free: 1.465 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/1.05, allocations: 28.16 kB / 1.374 GB, free: 1.465 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004641/1.054, allocations: 1.892 MB / 1.375 GB, free: 0.5664 MB / 1.061 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.006771/1.061, allocations: 3.5 MB / 1.379 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00338/1.065, allocations: 1.377 MB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/1.066, allocations: 0.6027 MB / 1.381 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/1.067, allocations: 478.2 kB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/1.069, allocations: 0.8108 MB / 1.382 GB, free: 11.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=109): time 3.647e-06/1.069, allocations: 1.531 kB / 1.382 GB, free: 11.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=109): time 0.005979/1.075, allocations: 1.974 MB / 1.384 GB, free: 10.79 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/1.075, allocations: 200.7 kB / 1.384 GB, free: 10.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009892/1.076, allocations: 0.6429 MB / 1.385 GB, free: 10.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.076, allocations: 48.14 kB / 1.385 GB, free: 10.15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/1.076, allocations: 448.1 kB / 1.385 GB, free: 9.758 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/1.077, allocations: 352.6 kB / 1.386 GB, free: 9.453 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/1.077, allocations: 190.2 kB / 1.386 GB, free: 9.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.077, allocations: 394.6 kB / 1.386 GB, free: 8.965 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/1.078, allocations: 495 kB / 1.387 GB, free: 8.727 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/1.08, allocations: 0.6125 MB / 1.387 GB, free: 8.363 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/1.083, allocations: 1.063 MB / 1.388 GB, free: 7.812 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.083, allocations: 2 kB / 1.388 GB, free: 7.812 MB / 1.076 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003725/1.087, allocations: 1.32 MB / 1.39 GB, free: 7.164 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.087, allocations: 8.656 kB / 1.39 GB, free: 7.164 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.087, allocations: 4 kB / 1.39 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/1.087, allocations: 82.55 kB / 1.39 GB, free: 7.121 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.089, allocations: 263.4 kB / 1.39 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/1.091, allocations: 1.627 MB / 1.391 GB, free: 5.445 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/1.092, allocations: 163.7 kB / 1.392 GB, free: 5.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.092, allocations: 40.56 kB / 1.392 GB, free: 5.336 MB / 1.076 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.000606/1.093, allocations: 285.8 kB / 1.392 GB, free: 5.113 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/1.093, allocations: 96.44 kB / 1.392 GB, free: 5.062 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/1.097, allocations: 1.681 MB / 1.394 GB, free: 4.141 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.098, allocations: 13.19 kB / 1.394 GB, free: 4.141 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.098, allocations: 0 / 1.394 GB, free: 4.141 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.098, allocations: 3.984 kB / 1.394 GB, free: 4.137 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005526/1.103, allocations: 2.817 MB / 1.396 GB, free: 2.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.103, allocations: 0 / 1.396 GB, free: 2.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.104, allocations: 252.3 kB / 1.397 GB, free: 2.273 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/1.105, allocations: 74.72 kB / 1.397 GB, free: 2.234 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.69e-05/1.105, allocations: 36.28 kB / 1.397 GB, free: 2.211 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/1.107, allocations: 1.671 MB / 1.398 GB, free: 0.582 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.107, allocations: 3.938 kB / 1.398 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/1.111, allocations: 1.521 MB / 1.4 GB, free: 15.77 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005614/1.111, allocations: 326.7 kB / 1.4 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/1.111, allocations: 27.83 kB / 1.4 GB, free: 15.47 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.113, allocations: 119.9 kB / 1.4 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/1.113, allocations: 89.28 kB / 1.4 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.113, allocations: 49.98 kB / 1.4 GB, free: 15.35 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006257/1.114, allocations: 476.5 kB / 1.401 GB, free: 15.08 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/1.114, allocations: 0 / 1.401 GB, free: 15.08 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001189/1.115, allocations: 399 kB / 1.401 GB, free: 14.97 MB / 1.092 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.005555/1.12, allocations: 2.599 MB / 1.404 GB, free: 12.94 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003562/1.124, allocations: 1.362 MB / 1.405 GB, free: 11.57 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.124, allocations: 0 / 1.405 GB, free: 11.57 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/1.126, allocations: 0.8202 MB / 1.406 GB, free: 10.73 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.127, allocations: 313.8 kB / 1.406 GB, free: 10.44 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/1.143, allocations: 8.192 MB / 1.414 GB, free: 2.094 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/1.144, allocations: 1.085 MB / 1.415 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001357/1.146, allocations: 343.8 kB / 1.416 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007702/1.146, allocations: 471.2 kB / 1.416 GB, free: 188 kB / 1.092 GB Notification: Performance of SimCode: time 9.02e-07/1.146, allocations: 0 / 1.416 GB, free: 188 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05542/1.202, allocations: 26.11 MB / 1.442 GB, free: 6.453 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.83, allocations: 8.5 kB / 1.442 GB, free: 6.445 MB / 1.123 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) 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) Reference file matches