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.01043/0.01043, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.002229/0.002229, allocations: 203.4 kB / 16.68 MB, free: 5.445 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.309/2.309, allocations: 222.9 MB / 240.4 MB, free: 4.117 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.416/4.416, allocations: 437 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2771, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.0093/0.2865, allocations: 7.079 MB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.693/0.9795, allocations: 151.2 MB / 1.321 GB, free: 8.695 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.9807, allocations: 22.28 kB / 1.321 GB, free: 8.688 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008127/0.9816, allocations: 259 kB / 1.321 GB, free: 8.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003199/0.9848, allocations: 0.7828 MB / 1.322 GB, free: 8.152 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.9874, allocations: 1.011 MB / 1.323 GB, free: 7.969 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003172/0.9905, allocations: 2.095 MB / 1.325 GB, free: 7.508 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.9924, allocations: 1.108 MB / 1.326 GB, free: 6.938 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.9939, allocations: 0.8217 MB / 1.327 GB, free: 6.512 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.9952, allocations: 0.8822 MB / 1.327 GB, free: 6.031 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003176/0.9956, allocations: 219.6 kB / 1.328 GB, free: 6.031 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.997, allocations: 0.5728 MB / 1.328 GB, free: 5.914 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005349/0.9975, allocations: 493.1 kB / 1.329 GB, free: 5.586 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.9987, allocations: 0.9787 MB / 1.33 GB, free: 4.938 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003587/1.002, allocations: 2.677 MB / 1.332 GB, free: 3.797 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.002, allocations: 0 / 1.332 GB, free: 3.797 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/1.002, allocations: 0 / 1.332 GB, free: 3.797 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.953e-05/1.002, allocations: 0 / 1.332 GB, free: 3.797 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004505/1.007, allocations: 2.1 MB / 1.334 GB, free: 2.434 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.007, allocations: 14.19 kB / 1.334 GB, free: 2.43 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002898/1.007, allocations: 226.1 kB / 1.335 GB, free: 2.285 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/1.008, allocations: 267 kB / 1.335 GB, free: 2.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/1.01, allocations: 0.9994 MB / 1.336 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/1.01, allocations: 143.9 kB / 1.336 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/1.01, allocations: 162.7 kB / 1.336 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/1.013, allocations: 1.59 MB / 1.338 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/1.013, allocations: 1.031 kB / 1.338 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/1.013, allocations: 66.94 kB / 1.338 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/1.013, allocations: 41.41 kB / 1.338 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/1.016, allocations: 1.591 MB / 1.339 GB, free: 204 kB / 1.014 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.00779/1.024, allocations: 4.701 MB / 1.344 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/1.026, allocations: 1.089 MB / 1.345 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007912/1.027, allocations: 427.3 kB / 1.345 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/1.027, allocations: 44.48 kB / 1.345 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/1.028, allocations: 0.7123 MB / 1.346 GB, free: 12.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=111): time 2.965e-06/1.028, allocations: 1.094 kB / 1.346 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=111): time 0.004366/1.033, allocations: 1.663 MB / 1.348 GB, free: 11.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001991/1.033, allocations: 192.2 kB / 1.348 GB, free: 11.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/1.034, allocations: 0.8498 MB / 1.349 GB, free: 11.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/1.034, allocations: 48.36 kB / 1.349 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005811/1.035, allocations: 0.631 MB / 1.349 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/1.035, allocations: 368.7 kB / 1.35 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/1.036, allocations: 215.7 kB / 1.35 GB, free: 10.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002443/1.036, allocations: 342.4 kB / 1.35 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008346/1.037, allocations: 377.7 kB / 1.351 GB, free: 9.797 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000951/1.038, allocations: 0.5074 MB / 1.351 GB, free: 9.539 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/1.04, allocations: 0.8569 MB / 1.352 GB, free: 9.125 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.04, allocations: 1.406 kB / 1.352 GB, free: 9.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002936/1.043, allocations: 1.158 MB / 1.353 GB, free: 8.648 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.043, allocations: 5.906 kB / 1.353 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.043, allocations: 1.281 kB / 1.353 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/1.043, allocations: 84.95 kB / 1.353 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/1.044, allocations: 223.9 kB / 1.353 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/1.046, allocations: 1.656 MB / 1.355 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.048, allocations: 136.7 kB / 1.355 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.048, allocations: 48.36 kB / 1.355 GB, free: 6.891 MB / 1.029 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.0007194/1.048, allocations: 352.6 kB / 1.356 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/1.049, allocations: 124.8 kB / 1.356 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/1.052, allocations: 1.528 MB / 1.357 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/1.052, allocations: 14.75 kB / 1.357 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/1.052, allocations: 0 / 1.357 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.052, allocations: 3.984 kB / 1.357 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/1.054, allocations: 1.38 MB / 1.359 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.054, allocations: 1.406 kB / 1.359 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008354/1.055, allocations: 198.9 kB / 1.359 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/1.055, allocations: 74.44 kB / 1.359 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.803e-05/1.055, allocations: 33.97 kB / 1.359 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/1.058, allocations: 1.678 MB / 1.36 GB, free: 2.953 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.058, allocations: 1.375 kB / 1.36 GB, free: 2.953 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/1.06, allocations: 1.286 MB / 1.362 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/1.061, allocations: 362.9 kB / 1.362 GB, free: 1.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/1.061, allocations: 38.55 kB / 1.362 GB, free: 1.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000888/1.062, allocations: 85.31 kB / 1.362 GB, free: 1.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/1.062, allocations: 93.81 kB / 1.362 GB, free: 1.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/1.062, allocations: 51.66 kB / 1.362 GB, free: 1.828 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009634/1.063, allocations: 0.6203 MB / 1.363 GB, free: 1.465 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.31e-07/1.063, allocations: 0 / 1.363 GB, free: 1.465 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001199/1.065, allocations: 483.5 kB / 1.363 GB, free: 1.32 MB / 1.029 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.004815/1.069, allocations: 2.355 MB / 1.366 GB, free: 15.9 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002311/1.072, allocations: 1.113 MB / 1.367 GB, free: 15.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.072, allocations: 1.812 kB / 1.367 GB, free: 15.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/1.073, allocations: 0.691 MB / 1.367 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.075, allocations: 354.3 kB / 1.368 GB, free: 14.77 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/1.089, allocations: 8.722 MB / 1.376 GB, free: 9.602 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/1.09, allocations: 1.22 MB / 1.377 GB, free: 8.676 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001114/1.092, allocations: 319.4 kB / 1.378 GB, free: 8.523 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009398/1.092, allocations: 0.6111 MB / 1.378 GB, free: 8.008 MB / 1.045 GB Notification: Performance of SimCode: time 6.61e-07/1.092, allocations: 0 / 1.378 GB, free: 8.008 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.199, allocations: 29.39 MB / 1.407 GB, free: 13.51 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.4/18.6, allocations: 4 kB / 1.407 GB, free: 13.51 MB / 1.076 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