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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.0053/0.0053, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001336/0.001336, allocations: 193.8 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.766/2.766, allocations: 469.4 MB / 0.7422 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2507, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006486/0.2572, allocations: 5.381 MB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6757/0.933, allocations: 150.8 MB / 1.372 GB, free: 10.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000794/0.9338, allocations: 20.34 kB / 1.372 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.9345, allocations: 214.4 kB / 1.373 GB, free: 10.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.9363, allocations: 0.5731 MB / 1.373 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.9385, allocations: 0.9523 MB / 1.374 GB, free: 9.922 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.9402, allocations: 1.623 MB / 1.376 GB, free: 9.102 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.9413, allocations: 0.7455 MB / 1.376 GB, free: 8.699 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008758/0.9422, allocations: 0.6014 MB / 1.377 GB, free: 8.402 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008705/0.9431, allocations: 0.6552 MB / 1.378 GB, free: 8.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.9434, allocations: 141.9 kB / 1.378 GB, free: 8.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009978/0.9444, allocations: 0.5204 MB / 1.378 GB, free: 7.949 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.9447, allocations: 357 kB / 1.379 GB, free: 7.727 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007872/0.9455, allocations: 0.6747 MB / 1.379 GB, free: 7.281 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.9478, allocations: 1.921 MB / 1.381 GB, free: 6.016 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.9478, allocations: 5.25 kB / 1.381 GB, free: 6.012 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9478, allocations: 0 / 1.381 GB, free: 6.012 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.079e-05/0.9479, allocations: 0 / 1.381 GB, free: 6.012 MB / 1.076 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.003478/0.9514, allocations: 1.718 MB / 1.383 GB, free: 4.695 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.9514, allocations: 14.16 kB / 1.383 GB, free: 4.691 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.9516, allocations: 166.3 kB / 1.383 GB, free: 4.555 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005517/0.9572, allocations: 0.7584 MB / 1.384 GB, free: 4.211 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.9585, allocations: 0.8457 MB / 1.384 GB, free: 3.516 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.122e-05/0.9586, allocations: 78.98 kB / 1.385 GB, free: 3.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.9588, allocations: 106.2 kB / 1.385 GB, free: 3.445 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.9622, allocations: 1.434 MB / 1.386 GB, free: 2.551 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.9623, allocations: 1.031 kB / 1.386 GB, free: 2.551 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.9624, allocations: 46.44 kB / 1.386 GB, free: 2.516 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.9624, allocations: 27.5 kB / 1.386 GB, free: 2.516 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004908/0.9673, allocations: 1.888 MB / 1.388 GB, free: 1.621 MB / 1.076 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.006384/0.9737, allocations: 3.519 MB / 1.391 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00356/0.9773, allocations: 1.376 MB / 1.393 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.9789, allocations: 0.6051 MB / 1.393 GB, free: 13.85 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006503/0.9796, allocations: 477.4 kB / 1.394 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/0.9816, allocations: 0.8156 MB / 1.395 GB, free: 12.84 MB / 1.092 GB Notification: Performance of pre-optimization done (n=109): time 3.016e-06/0.9816, allocations: 0 / 1.395 GB, free: 12.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=109): time 0.006382/0.988, allocations: 1.975 MB / 1.397 GB, free: 11.82 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.9881, allocations: 191.9 kB / 1.397 GB, free: 11.61 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/0.9889, allocations: 0.6555 MB / 1.397 GB, free: 11.22 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.78e-05/0.989, allocations: 52.22 kB / 1.397 GB, free: 11.17 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.9893, allocations: 443.2 kB / 1.398 GB, free: 10.79 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.9896, allocations: 374.4 kB / 1.398 GB, free: 10.46 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.9899, allocations: 185.7 kB / 1.398 GB, free: 10.35 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.9901, allocations: 395.5 kB / 1.399 GB, free: 9.977 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.9916, allocations: 498.3 kB / 1.399 GB, free: 9.734 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.9933, allocations: 0.6078 MB / 1.4 GB, free: 9.379 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.9963, allocations: 1.059 MB / 1.401 GB, free: 8.832 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.9963, allocations: 4.781 kB / 1.401 GB, free: 8.832 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003927/1, allocations: 1.328 MB / 1.402 GB, free: 8.172 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1, allocations: 7.531 kB / 1.402 GB, free: 8.172 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1, allocations: 2.531 kB / 1.402 GB, free: 8.172 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/1.001, allocations: 85.17 kB / 1.402 GB, free: 8.129 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.002, allocations: 256 kB / 1.402 GB, free: 8.059 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/1.004, allocations: 1.63 MB / 1.404 GB, free: 6.449 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/1.006, allocations: 171.6 kB / 1.404 GB, free: 6.348 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.263e-05/1.006, allocations: 42.22 kB / 1.404 GB, free: 6.332 MB / 1.092 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.0004451/1.006, allocations: 292.6 kB / 1.405 GB, free: 6.105 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/1.006, allocations: 104.4 kB / 1.405 GB, free: 6.047 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/1.011, allocations: 1.676 MB / 1.406 GB, free: 5.133 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.011, allocations: 12.12 kB / 1.406 GB, free: 5.133 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/1.011, allocations: 0 / 1.406 GB, free: 5.133 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/1.011, allocations: 3.984 kB / 1.406 GB, free: 5.129 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005643/1.017, allocations: 2.826 MB / 1.409 GB, free: 3.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.017, allocations: 0 / 1.409 GB, free: 3.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.018, allocations: 251.7 kB / 1.409 GB, free: 3.023 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/1.018, allocations: 72.73 kB / 1.409 GB, free: 2.949 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.893e-05/1.019, allocations: 35.97 kB / 1.409 GB, free: 2.914 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/1.02, allocations: 1.667 MB / 1.411 GB, free: 1.102 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.02, allocations: 3.938 kB / 1.411 GB, free: 1.098 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004077/1.024, allocations: 1.533 MB / 1.413 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/1.025, allocations: 328 kB / 1.413 GB, free: 15.2 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/1.025, allocations: 27.94 kB / 1.413 GB, free: 15.18 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.026, allocations: 119.9 kB / 1.413 GB, free: 15.06 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.027, allocations: 84.89 kB / 1.413 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.027, allocations: 51.95 kB / 1.413 GB, free: 14.93 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005489/1.027, allocations: 471 kB / 1.414 GB, free: 14.47 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.51e-07/1.027, allocations: 4 kB / 1.414 GB, free: 14.46 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001001/1.028, allocations: 399 kB / 1.414 GB, free: 14.07 MB / 1.107 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.005637/1.034, allocations: 2.611 MB / 1.417 GB, free: 11.62 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00372/1.038, allocations: 1.362 MB / 1.418 GB, free: 10.25 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.038, allocations: 0 / 1.418 GB, free: 10.25 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/1.04, allocations: 0.8203 MB / 1.419 GB, free: 9.414 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/1.041, allocations: 326.5 kB / 1.419 GB, free: 9.117 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/1.058, allocations: 8.224 MB / 1.427 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/1.058, allocations: 1.088 MB / 1.428 GB, free: 15.61 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001241/1.06, allocations: 335.9 kB / 1.428 GB, free: 15.28 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/1.06, allocations: 475.2 kB / 1.429 GB, free: 14.82 MB / 1.123 GB Notification: Performance of SimCode: time 5.41e-07/1.06, allocations: 0 / 1.429 GB, free: 14.82 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.052/1.112, allocations: 25.6 MB / 1.454 GB, free: 5.594 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.62, allocations: 6.25 kB / 1.454 GB, free: 5.59 MB / 1.139 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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