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.01053/0.01053, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001858/0.001858, allocations: 190.1 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.308/2.308, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.64/2.64, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.152, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.009734/1.162, allocations: 4.643 MB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2833/1.446, allocations: 150.8 MB / 1.239 GB, free: 424 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/1.448, allocations: 19.69 kB / 1.239 GB, free: 416 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001621/1.45, allocations: 180.2 kB / 1.239 GB, free: 252 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004499/1.454, allocations: 0.5156 MB / 1.24 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007957/1.462, allocations: 0.9383 MB / 1.241 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004626/1.467, allocations: 1.486 MB / 1.242 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00311/1.47, allocations: 0.8069 MB / 1.243 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/1.472, allocations: 0.5751 MB / 1.244 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/1.474, allocations: 0.6249 MB / 1.244 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007341/1.475, allocations: 142.8 kB / 1.244 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/1.477, allocations: 0.532 MB / 1.245 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008053/1.478, allocations: 358.8 kB / 1.245 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/1.48, allocations: 0.649 MB / 1.246 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004857/1.485, allocations: 1.873 MB / 1.248 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.485, allocations: 0 / 1.248 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/1.485, allocations: 4 kB / 1.248 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.34e-05/1.485, allocations: 0 / 1.248 GB, free: 9.676 MB / 0.9825 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.006405/1.491, allocations: 1.661 MB / 1.249 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/1.491, allocations: 8.031 kB / 1.249 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004964/1.492, allocations: 173.1 kB / 1.249 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/1.502, allocations: 0.7561 MB / 1.25 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/1.505, allocations: 0.8278 MB / 1.251 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/1.505, allocations: 86.19 kB / 1.251 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005126/1.506, allocations: 108 kB / 1.251 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007486/1.514, allocations: 1.432 MB / 1.253 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.141e-05/1.514, allocations: 0 / 1.253 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003154/1.514, allocations: 48 kB / 1.253 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/1.514, allocations: 28 kB / 1.253 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009773/1.524, allocations: 1.885 MB / 1.255 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/1.537, allocations: 3.233 MB / 1.258 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006867/1.544, allocations: 1.377 MB / 1.259 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/1.547, allocations: 0.5971 MB / 1.26 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/1.548, allocations: 490.5 kB / 1.26 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003831/1.552, allocations: 0.7971 MB / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 8.236e-06/1.552, allocations: 0 / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.01236/1.565, allocations: 1.969 MB / 1.263 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/1.565, allocations: 196.9 kB / 1.263 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/1.567, allocations: 0.6528 MB / 1.264 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/1.567, allocations: 41.7 kB / 1.264 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006983/1.568, allocations: 444.5 kB / 1.264 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006903/1.569, allocations: 354.8 kB / 1.264 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007373/1.569, allocations: 190.5 kB / 1.265 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002893/1.57, allocations: 398.7 kB / 1.265 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/1.573, allocations: 485.7 kB / 1.265 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/1.576, allocations: 0.6086 MB / 1.266 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005979/1.582, allocations: 1.058 MB / 1.267 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.582, allocations: 64 / 1.267 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007884/1.59, allocations: 1.321 MB / 1.268 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/1.59, allocations: 8 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.59, allocations: 0 / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/1.591, allocations: 84.89 kB / 1.268 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/1.594, allocations: 263.6 kB / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/1.598, allocations: 1.63 MB / 1.27 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/1.6, allocations: 163.1 kB / 1.27 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/1.601, allocations: 43.95 kB / 1.27 GB, free: 1.625 MB / 0.9981 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.001131/1.602, allocations: 289.6 kB / 1.271 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005551/1.602, allocations: 94.86 kB / 1.271 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009306/1.612, allocations: 1.668 MB / 1.272 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/1.612, allocations: 15.98 kB / 1.273 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.612, allocations: 4 kB / 1.273 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/1.612, allocations: 19.84 kB / 1.273 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/1.625, allocations: 2.85 MB / 1.275 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.625, allocations: 7.875 kB / 1.275 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002724/1.628, allocations: 251.7 kB / 1.276 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00085/1.629, allocations: 76.78 kB / 1.276 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002426/1.629, allocations: 35.97 kB / 1.276 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003565/1.632, allocations: 1.654 MB / 1.277 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.632, allocations: 0 / 1.277 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008603/1.641, allocations: 1.529 MB / 1.279 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/1.642, allocations: 319.5 kB / 1.279 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/1.643, allocations: 28 kB / 1.279 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.645, allocations: 119.9 kB / 1.279 GB, free: 8.406 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003691/1.646, allocations: 88.81 kB / 1.279 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.646, allocations: 43.97 kB / 1.279 GB, free: 8.277 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001408/1.647, allocations: 475 kB / 1.28 GB, free: 7.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.81e-07/1.647, allocations: 4 kB / 1.28 GB, free: 7.816 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002263/1.65, allocations: 383.1 kB / 1.28 GB, free: 7.441 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.01111/1.661, allocations: 2.606 MB / 1.283 GB, free: 4.992 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006408/1.667, allocations: 1.358 MB / 1.284 GB, free: 3.621 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.667, allocations: 0 / 1.284 GB, free: 3.621 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003582/1.671, allocations: 0.8203 MB / 1.285 GB, free: 2.789 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/1.674, allocations: 296 kB / 1.285 GB, free: 2.516 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03395/1.708, allocations: 8.289 MB / 1.293 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.709, allocations: 1.09 MB / 1.294 GB, free: 8.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002656/1.712, allocations: 343.7 kB / 1.295 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/1.713, allocations: 459.2 kB / 1.295 GB, free: 8.172 MB / 1.029 GB Notification: Performance of SimCode: time 1.923e-06/1.714, allocations: 0 / 1.295 GB, free: 8.172 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3915/2.105, allocations: 26.05 MB / 1.32 GB, free: 14.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.28/23.39, allocations: 8.047 kB / 1.32 GB, free: 14.49 MB / 1.061 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 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.mat","/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