Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.008022/0.008022, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.002038/0.002038, allocations: 192.1 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.611/2.611, allocations: 469.4 MB / 0.7422 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6344/0.6357, allocations: 159.1 MB / 1.22 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006205/0.6419, allocations: 4.853 MB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1478/0.7897, allocations: 150.6 MB / 1.372 GB, free: 6.273 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/0.7904, allocations: 15.94 kB / 1.372 GB, free: 6.258 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000624/0.7911, allocations: 194.2 kB / 1.372 GB, free: 6.066 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.7928, allocations: 0.5546 MB / 1.372 GB, free: 5.512 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.7947, allocations: 0.8397 MB / 1.373 GB, free: 4.68 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.7962, allocations: 1.378 MB / 1.374 GB, free: 3.297 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008309/0.797, allocations: 0.5857 MB / 1.375 GB, free: 2.688 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006204/0.7976, allocations: 486.4 kB / 1.375 GB, free: 2.211 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005833/0.7982, allocations: 0.4901 MB / 1.376 GB, free: 1.719 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.7984, allocations: 116 kB / 1.376 GB, free: 1.605 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007804/0.7992, allocations: 487.5 kB / 1.377 GB, free: 1.129 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.7995, allocations: 295 kB / 1.377 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005157/0.8, allocations: 0.5597 MB / 1.377 GB, free: 284 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.8018, allocations: 1.624 MB / 1.379 GB, free: 14.65 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.8018, allocations: 0 / 1.379 GB, free: 14.65 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8018, allocations: 0 / 1.379 GB, free: 14.65 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.997e-05/0.8018, allocations: 0 / 1.379 GB, free: 14.65 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002564/0.8044, allocations: 1.467 MB / 1.38 GB, free: 13.12 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.8045, allocations: 12.62 kB / 1.38 GB, free: 13.11 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.8046, allocations: 135.3 kB / 1.381 GB, free: 12.97 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009469/0.8056, allocations: 192.1 kB / 1.381 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.8068, allocations: 0.7659 MB / 1.381 GB, free: 11.98 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.926e-05/0.8068, allocations: 62 kB / 1.381 GB, free: 11.92 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.807, allocations: 80 kB / 1.382 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.8085, allocations: 0.9144 MB / 1.382 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.8085, allocations: 4 kB / 1.382 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.8086, allocations: 36 kB / 1.383 GB, free: 10.84 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.8087, allocations: 24 kB / 1.383 GB, free: 10.82 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.8104, allocations: 1.104 MB / 1.384 GB, free: 9.719 MB / 1.107 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.003873/0.8143, allocations: 2.694 MB / 1.386 GB, free: 6.906 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.8158, allocations: 0.8018 MB / 1.387 GB, free: 6.105 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/0.8164, allocations: 298.7 kB / 1.387 GB, free: 5.809 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/0.8164, allocations: 24.7 kB / 1.387 GB, free: 5.785 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008323/0.8173, allocations: 0.4913 MB / 1.388 GB, free: 5.273 MB / 1.107 GB Notification: Performance of pre-optimization done (n=80): time 2.224e-06/0.8173, allocations: 0 / 1.388 GB, free: 5.273 MB / 1.107 GB Notification: Performance of matching and sorting (n=80): time 0.003201/0.8205, allocations: 1.19 MB / 1.389 GB, free: 4.059 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.8206, allocations: 192.6 kB / 1.389 GB, free: 3.828 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.8213, allocations: 0.6254 MB / 1.39 GB, free: 3.195 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/0.8214, allocations: 45.64 kB / 1.39 GB, free: 3.145 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.8217, allocations: 409 kB / 1.39 GB, free: 2.738 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.8219, allocations: 269.7 kB / 1.39 GB, free: 2.473 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.8222, allocations: 150.6 kB / 1.391 GB, free: 2.32 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.8223, allocations: 390.7 kB / 1.391 GB, free: 1.93 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/0.8228, allocations: 241.9 kB / 1.391 GB, free: 1.691 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/0.8235, allocations: 362.6 kB / 1.392 GB, free: 1.312 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.8246, allocations: 0.5799 MB / 1.392 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8246, allocations: 4 kB / 1.392 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00188/0.8265, allocations: 0.8062 MB / 1.393 GB, free: 15.9 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.8265, allocations: 8 kB / 1.393 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8265, allocations: 0 / 1.393 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/0.8271, allocations: 88.77 kB / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.8278, allocations: 151.8 kB / 1.393 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.8298, allocations: 1.631 MB / 1.395 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.8304, allocations: 89.22 kB / 1.395 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.8305, allocations: 27.98 kB / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (87): * Single equations (assignments): 86 * 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.0003662/0.8309, allocations: 269.6 kB / 1.395 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.8311, allocations: 95.42 kB / 1.395 GB, free: 13.4 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.8334, allocations: 1.054 MB / 1.396 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.8334, allocations: 11.98 kB / 1.396 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8335, allocations: 3.938 kB / 1.396 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.8335, allocations: 7.969 kB / 1.396 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/0.8344, allocations: 0.8958 MB / 1.397 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8345, allocations: 0 / 1.397 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.8351, allocations: 147.8 kB / 1.397 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.8355, allocations: 68.8 kB / 1.397 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.8356, allocations: 27.97 kB / 1.397 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.8375, allocations: 1.662 MB / 1.399 GB, free: 9.305 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8375, allocations: 0 / 1.399 GB, free: 9.305 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.8394, allocations: 0.9244 MB / 1.4 GB, free: 8.359 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.8398, allocations: 276.2 kB / 1.4 GB, free: 8.07 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.8399, allocations: 28 kB / 1.4 GB, free: 8.043 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.8406, allocations: 63.92 kB / 1.4 GB, free: 7.98 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.8408, allocations: 72.84 kB / 1.4 GB, free: 7.906 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.8408, allocations: 35.97 kB / 1.4 GB, free: 7.871 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005289/0.8414, allocations: 455 kB / 1.401 GB, free: 7.434 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8414, allocations: 0 / 1.401 GB, free: 7.434 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000747/0.8421, allocations: 319.2 kB / 1.401 GB, free: 7.121 MB / 1.123 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.00339/0.8455, allocations: 1.992 MB / 1.403 GB, free: 5.285 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.8471, allocations: 0.8001 MB / 1.404 GB, free: 4.473 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8471, allocations: 0 / 1.404 GB, free: 4.473 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009316/0.8481, allocations: 0.5157 MB / 1.404 GB, free: 3.949 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.8493, allocations: 301.2 kB / 1.405 GB, free: 3.668 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009746/0.859, allocations: 6.147 MB / 1.411 GB, free: 13.41 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.8596, allocations: 1.023 MB / 1.412 GB, free: 12.36 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000757/0.8604, allocations: 262.6 kB / 1.412 GB, free: 12.09 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.8609, allocations: 371.3 kB / 1.412 GB, free: 11.73 MB / 1.139 GB Notification: Performance of SimCode: time 4.91e-07/0.8609, allocations: 0 / 1.412 GB, free: 11.73 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04396/0.9049, allocations: 21.5 MB / 1.433 GB, free: 6.602 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.66, allocations: 12.44 kB / 1.433 GB, free: 6.586 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_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_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches