Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.007563/0.007563, allocations: 106.1 kB / 15.74 MB, free: 6.02 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.001902/0.001902, allocations: 192.4 kB / 16.68 MB, free: 5.938 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.362/2.362, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 1.018 GB, free: 9.98 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6432/0.6445, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007881/0.6525, allocations: 7.077 MB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1475/0.8, allocations: 151.2 MB / 1.321 GB, free: 4.953 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007793/0.8008, allocations: 19.94 kB / 1.321 GB, free: 4.934 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006241/0.8014, allocations: 269.4 kB / 1.321 GB, free: 4.668 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.8033, allocations: 0.7772 MB / 1.322 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.8053, allocations: 1.022 MB / 1.323 GB, free: 2.875 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0018/0.8071, allocations: 2.097 MB / 1.325 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.8085, allocations: 1.112 MB / 1.326 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008355/0.8093, allocations: 0.8293 MB / 1.327 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008035/0.8101, allocations: 0.887 MB / 1.327 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.8104, allocations: 216 kB / 1.328 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008515/0.8112, allocations: 0.5738 MB / 1.328 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.8116, allocations: 494.5 kB / 1.329 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007682/0.8124, allocations: 0.9681 MB / 1.33 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.8148, allocations: 2.684 MB / 1.332 GB, free: 8.949 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.8148, allocations: 0 / 1.332 GB, free: 8.949 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8148, allocations: 3.938 kB / 1.332 GB, free: 8.945 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.8149, allocations: 4 kB / 1.332 GB, free: 8.941 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003496/0.8184, allocations: 2.1 MB / 1.334 GB, free: 6.781 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.8184, allocations: 8.922 kB / 1.334 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002499/0.8187, allocations: 228.2 kB / 1.335 GB, free: 6.539 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.8197, allocations: 271.6 kB / 1.335 GB, free: 6.273 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.8211, allocations: 1.001 MB / 1.336 GB, free: 5.227 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.8213, allocations: 144.8 kB / 1.336 GB, free: 5.078 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.8215, allocations: 152 kB / 1.336 GB, free: 4.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.824, allocations: 1.585 MB / 1.338 GB, free: 3.289 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.8241, allocations: 0 / 1.338 GB, free: 3.289 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.8242, allocations: 68 kB / 1.338 GB, free: 3.223 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.8242, allocations: 44 kB / 1.338 GB, free: 3.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.8268, allocations: 1.596 MB / 1.339 GB, free: 1.578 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.006322/0.8331, allocations: 4.695 MB / 1.344 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.835, allocations: 1.1 MB / 1.345 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/0.8357, allocations: 431.7 kB / 1.345 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.373e-05/0.8358, allocations: 41.12 kB / 1.345 GB, free: 11.13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/0.837, allocations: 0.6999 MB / 1.346 GB, free: 10.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=111): time 2.515e-06/0.837, allocations: 0 / 1.346 GB, free: 10.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=111): time 0.00386/0.8409, allocations: 1.669 MB / 1.348 GB, free: 8.715 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/0.841, allocations: 192.9 kB / 1.348 GB, free: 8.484 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.842, allocations: 0.8495 MB / 1.349 GB, free: 7.609 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/0.8421, allocations: 45.7 kB / 1.349 GB, free: 7.559 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.8425, allocations: 0.6338 MB / 1.349 GB, free: 6.918 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.8428, allocations: 372.8 kB / 1.35 GB, free: 6.551 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.8431, allocations: 206.8 kB / 1.35 GB, free: 6.344 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8432, allocations: 345.9 kB / 1.35 GB, free: 6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/0.8439, allocations: 378.4 kB / 1.351 GB, free: 5.629 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008543/0.8448, allocations: 0.5102 MB / 1.351 GB, free: 5.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.8463, allocations: 0.8555 MB / 1.352 GB, free: 4.219 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8464, allocations: 0 / 1.352 GB, free: 4.219 MB / 1.076 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002467/0.8488, allocations: 1.157 MB / 1.353 GB, free: 3.055 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.8489, allocations: 11.98 kB / 1.353 GB, free: 3.043 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8489, allocations: 0 / 1.353 GB, free: 3.043 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/0.8495, allocations: 80.84 kB / 1.353 GB, free: 2.961 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009414/0.8504, allocations: 227.6 kB / 1.353 GB, free: 2.738 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.8524, allocations: 1.642 MB / 1.355 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.8533, allocations: 145.8 kB / 1.355 GB, free: 0.8086 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.8534, allocations: 47.95 kB / 1.355 GB, free: 0.7617 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: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.0004826/0.8539, allocations: 348 kB / 1.356 GB, free: 424 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.8541, allocations: 127.2 kB / 1.356 GB, free: 296 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/0.8573, allocations: 1.524 MB / 1.357 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.8573, allocations: 15.98 kB / 1.357 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8574, allocations: 0 / 1.357 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.8574, allocations: 11.92 kB / 1.357 GB, free: 14.73 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.8588, allocations: 1.38 MB / 1.359 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.8588, allocations: 0 / 1.359 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/0.8597, allocations: 199.7 kB / 1.359 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/0.8601, allocations: 72.78 kB / 1.359 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/0.8602, allocations: 35.97 kB / 1.359 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.862, allocations: 1.678 MB / 1.36 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.862, allocations: 4.062 kB / 1.36 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.8645, allocations: 1.285 MB / 1.362 GB, free: 9.852 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/0.865, allocations: 359.9 kB / 1.362 GB, free: 9.48 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.8652, allocations: 39.88 kB / 1.362 GB, free: 9.441 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/0.8661, allocations: 79.91 kB / 1.362 GB, free: 9.363 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.8663, allocations: 105.2 kB / 1.362 GB, free: 9.258 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-05/0.8664, allocations: 47.97 kB / 1.362 GB, free: 9.211 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007585/0.8671, allocations: 0.6215 MB / 1.363 GB, free: 8.578 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8671, allocations: 0 / 1.363 GB, free: 8.578 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009754/0.8681, allocations: 470.7 kB / 1.363 GB, free: 8.117 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003957/0.8721, allocations: 2.363 MB / 1.366 GB, free: 5.891 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.8742, allocations: 1.113 MB / 1.367 GB, free: 4.762 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.8742, allocations: 4.25 kB / 1.367 GB, free: 4.758 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.8754, allocations: 0.6854 MB / 1.367 GB, free: 4.059 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.8767, allocations: 359.5 kB / 1.368 GB, free: 3.73 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.8902, allocations: 8.729 MB / 1.376 GB, free: 10.84 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.891, allocations: 1.228 MB / 1.378 GB, free: 9.586 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001003/0.892, allocations: 321.2 kB / 1.378 GB, free: 9.27 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008322/0.8928, allocations: 0.6086 MB / 1.378 GB, free: 8.66 MB / 1.107 GB Notification: Performance of SimCode: time 5.21e-07/0.8928, allocations: 0 / 1.378 GB, free: 8.66 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05324/0.9461, allocations: 29.38 MB / 1.407 GB, free: 11.55 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.54, allocations: 4.625 kB / 1.407 GB, free: 11.55 MB / 1.139 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches