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.007288/0.007288, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001789/0.001789, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.224/2.224, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 58.41 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2375, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006055/0.2436, allocations: 4.646 MB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1431/0.3868, allocations: 150.8 MB / 1.239 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.3876, allocations: 19.88 kB / 1.239 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.3883, allocations: 186.2 kB / 1.239 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.3901, allocations: 0.5118 MB / 1.24 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.3922, allocations: 0.9474 MB / 1.241 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.3938, allocations: 1.492 MB / 1.242 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.3949, allocations: 0.7898 MB / 1.243 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008023/0.3957, allocations: 0.5684 MB / 1.244 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007939/0.3965, allocations: 0.6262 MB / 1.244 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.3968, allocations: 144 kB / 1.244 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009561/0.3978, allocations: 0.523 MB / 1.245 GB, free: 180 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.3982, allocations: 362.9 kB / 1.245 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006758/0.3988, allocations: 0.649 MB / 1.246 GB, free: 15.17 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.401, allocations: 1.878 MB / 1.248 GB, free: 13.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.401, allocations: 4 kB / 1.248 GB, free: 13.28 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/0.401, allocations: 0 / 1.248 GB, free: 13.28 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.124e-05/0.4011, allocations: 0 / 1.248 GB, free: 13.28 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.003417/0.4045, allocations: 1.657 MB / 1.249 GB, free: 11.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.4046, allocations: 16.03 kB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/0.4048, allocations: 169.1 kB / 1.25 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/0.41, allocations: 0.7522 MB / 1.25 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.4116, allocations: 0.8317 MB / 1.251 GB, free: 9.746 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.4116, allocations: 86.19 kB / 1.251 GB, free: 9.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.4119, allocations: 108 kB / 1.251 GB, free: 9.555 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/0.4152, allocations: 1.432 MB / 1.253 GB, free: 8.059 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.4153, allocations: 0 / 1.253 GB, free: 8.059 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.4154, allocations: 44 kB / 1.253 GB, free: 8.016 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.4155, allocations: 24 kB / 1.253 GB, free: 7.992 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004701/0.4202, allocations: 1.893 MB / 1.255 GB, free: 6.09 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/0.4265, allocations: 3.233 MB / 1.258 GB, free: 2.789 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/0.43, allocations: 1.378 MB / 1.259 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.4316, allocations: 0.5933 MB / 1.26 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006694/0.4323, allocations: 486.5 kB / 1.26 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4788/0.9112, allocations: 0.7991 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 3.546e-06/0.9112, allocations: 0 / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.006145/0.9174, allocations: 1.972 MB / 1.263 GB, free: 173.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.9174, allocations: 193.5 kB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008317/0.9183, allocations: 0.6472 MB / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.301e-05/0.9184, allocations: 47.97 kB / 1.264 GB, free: 172.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.9187, allocations: 446.6 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.9189, allocations: 356.9 kB / 1.264 GB, free: 172.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.9192, allocations: 188.7 kB / 1.265 GB, free: 172.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.9194, allocations: 399.1 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.9208, allocations: 485.5 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.9224, allocations: 0.6121 MB / 1.266 GB, free: 171.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/0.9254, allocations: 1.051 MB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.9254, allocations: 4.219 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003879/0.9293, allocations: 1.319 MB / 1.268 GB, free: 170.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.9293, allocations: 5.281 kB / 1.268 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9294, allocations: 1.188 kB / 1.268 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/0.9299, allocations: 83.81 kB / 1.268 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.9313, allocations: 264.5 kB / 1.269 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.9331, allocations: 1.626 MB / 1.27 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.9343, allocations: 157.4 kB / 1.27 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.614e-05/0.9344, allocations: 46.44 kB / 1.27 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.0004607/0.9349, allocations: 292.3 kB / 1.271 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.9351, allocations: 96.23 kB / 1.271 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004853/0.9399, allocations: 1.672 MB / 1.272 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.94, allocations: 11.81 kB / 1.272 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.94, allocations: 4.438 kB / 1.273 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.94, allocations: 11.42 kB / 1.273 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/0.9456, allocations: 2.843 MB / 1.275 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.9457, allocations: 0 / 1.275 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.9469, allocations: 256.3 kB / 1.276 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.9474, allocations: 77.97 kB / 1.276 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.138e-05/0.9475, allocations: 34.33 kB / 1.276 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.949, allocations: 1.666 MB / 1.277 GB, free: 165.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.949, allocations: 0 / 1.277 GB, free: 165.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.9529, allocations: 1.531 MB / 1.279 GB, free: 164.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/0.9533, allocations: 315.3 kB / 1.279 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.9535, allocations: 27.58 kB / 1.279 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.9547, allocations: 124.3 kB / 1.279 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.9548, allocations: 86.5 kB / 1.279 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-05/0.9549, allocations: 45.31 kB / 1.279 GB, free: 164.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005474/0.9555, allocations: 476.7 kB / 1.28 GB, free: 164.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9555, allocations: 3.469 kB / 1.28 GB, free: 164.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009637/0.9565, allocations: 387.9 kB / 1.28 GB, free: 164.2 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.005219/0.9617, allocations: 2.59 MB / 1.283 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003539/0.9652, allocations: 1.353 MB / 1.284 GB, free: 162.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9653, allocations: 2.875 kB / 1.284 GB, free: 162.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.9671, allocations: 0.8216 MB / 1.285 GB, free: 162.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.9683, allocations: 304.7 kB / 1.285 GB, free: 162 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.9847, allocations: 8.291 MB / 1.293 GB, free: 158.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.9852, allocations: 1.088 MB / 1.294 GB, free: 157.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001231/0.9865, allocations: 339.7 kB / 1.295 GB, free: 157.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006689/0.9872, allocations: 463 kB / 1.295 GB, free: 157 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/0.9872, allocations: 0 / 1.295 GB, free: 157 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04666/1.034, allocations: 25.51 MB / 1.32 GB, free: 140.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.21, allocations: 12.31 kB / 1.32 GB, free: 140.2 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