Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.005791/0.005791, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001366/0.001366, allocations: 201.7 kB / 16.68 MB, free: 5.969 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 2.499/2.499, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.89 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2792, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006463/0.2857, allocations: 5.377 MB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7168/1.003, allocations: 150.8 MB / 1.319 GB, free: 9.879 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007659/1.003, allocations: 16.19 kB / 1.319 GB, free: 9.875 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/1.004, allocations: 210.9 kB / 1.319 GB, free: 9.758 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001678/1.006, allocations: 0.6132 MB / 1.319 GB, free: 9.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/1.008, allocations: 0.8861 MB / 1.32 GB, free: 9.316 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001475/1.009, allocations: 1.567 MB / 1.322 GB, free: 9.008 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008651/1.01, allocations: 0.6756 MB / 1.323 GB, free: 8.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006905/1.011, allocations: 0.567 MB / 1.323 GB, free: 8.711 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006321/1.011, allocations: 0.5884 MB / 1.324 GB, free: 8.562 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/1.011, allocations: 135.8 kB / 1.324 GB, free: 8.562 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009327/1.012, allocations: 0.5187 MB / 1.324 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/1.013, allocations: 338.2 kB / 1.325 GB, free: 8.355 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005947/1.013, allocations: 0.6481 MB / 1.325 GB, free: 7.926 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/1.015, allocations: 1.866 MB / 1.327 GB, free: 7.141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/1.015, allocations: 0 / 1.327 GB, free: 7.141 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.797e-06/1.015, allocations: 4 kB / 1.327 GB, free: 7.137 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.392e-05/1.015, allocations: 5.406 kB / 1.327 GB, free: 7.133 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002872/1.018, allocations: 1.618 MB / 1.329 GB, free: 6.039 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.018, allocations: 10.25 kB / 1.329 GB, free: 6.039 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/1.019, allocations: 156 kB / 1.329 GB, free: 5.938 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/1.02, allocations: 210.4 kB / 1.329 GB, free: 5.859 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/1.021, allocations: 0.8317 MB / 1.33 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.571e-05/1.021, allocations: 75.36 kB / 1.33 GB, free: 5.281 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/1.021, allocations: 98.5 kB / 1.33 GB, free: 5.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/1.023, allocations: 1.07 MB / 1.331 GB, free: 4.746 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.023, allocations: 0 / 1.331 GB, free: 4.746 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.023, allocations: 42.53 kB / 1.331 GB, free: 4.715 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/1.023, allocations: 28.09 kB / 1.331 GB, free: 4.711 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/1.025, allocations: 1.225 MB / 1.332 GB, free: 4.414 MB / 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.004551/1.03, allocations: 3.169 MB / 1.335 GB, free: 2.512 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/1.031, allocations: 0.8874 MB / 1.336 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/1.032, allocations: 343.8 kB / 1.337 GB, free: 2.043 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.328e-05/1.032, allocations: 38.77 kB / 1.337 GB, free: 2.027 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009167/1.033, allocations: 0.5545 MB / 1.337 GB, free: 1.793 MB / 1.014 GB Notification: Performance of pre-optimization done (n=92): time 2.475e-06/1.033, allocations: 0 / 1.337 GB, free: 1.793 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.003389/1.036, allocations: 1.348 MB / 1.338 GB, free: 1.234 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.036, allocations: 193.1 kB / 1.339 GB, free: 1.012 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/1.037, allocations: 0.6788 MB / 1.339 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.253e-05/1.037, allocations: 47.73 kB / 1.339 GB, free: 0.668 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/1.038, allocations: 455.6 kB / 1.34 GB, free: 320 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/1.038, allocations: 314.4 kB / 1.34 GB, free: 68 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/1.038, allocations: 166.1 kB / 1.34 GB, free: 15.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.038, allocations: 393 kB / 1.341 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/1.039, allocations: 285.2 kB / 1.341 GB, free: 15.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/1.04, allocations: 404.3 kB / 1.341 GB, free: 15.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.041, allocations: 0.66 MB / 1.342 GB, free: 15.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.041, allocations: 6.25 kB / 1.342 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002072/1.043, allocations: 0.9197 MB / 1.343 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.043, allocations: 5.375 kB / 1.343 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.043, allocations: 3.109 kB / 1.343 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/1.044, allocations: 82.31 kB / 1.343 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/1.044, allocations: 175.2 kB / 1.343 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/1.046, allocations: 1.637 MB / 1.345 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/1.047, allocations: 108.2 kB / 1.345 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/1.047, allocations: 32.5 kB / 1.345 GB, free: 13.02 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004339/1.048, allocations: 286.4 kB / 1.345 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.048, allocations: 95.95 kB / 1.345 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/1.051, allocations: 1.227 MB / 1.346 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/1.051, allocations: 10.88 kB / 1.346 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/1.051, allocations: 0 / 1.346 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.051, allocations: 5.812 kB / 1.346 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/1.052, allocations: 1.027 MB / 1.347 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.052, allocations: 0 / 1.347 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/1.052, allocations: 163.2 kB / 1.348 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004267/1.053, allocations: 75.75 kB / 1.348 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.92e-05/1.053, allocations: 31.8 kB / 1.348 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/1.055, allocations: 1.662 MB / 1.349 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.055, allocations: 5.25 kB / 1.349 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/1.057, allocations: 1.049 MB / 1.35 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/1.057, allocations: 301.8 kB / 1.351 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.058, allocations: 26.19 kB / 1.351 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006836/1.058, allocations: 65.75 kB / 1.351 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/1.058, allocations: 80.03 kB / 1.351 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/1.059, allocations: 46.12 kB / 1.351 GB, free: 9.418 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006499/1.059, allocations: 0.4912 MB / 1.351 GB, free: 9.203 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.059, allocations: 0 / 1.351 GB, free: 9.203 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009992/1.06, allocations: 372.2 kB / 1.352 GB, free: 9.102 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,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 (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003825/1.064, allocations: 2.123 MB / 1.354 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001757/1.066, allocations: 0.8966 MB / 1.355 GB, free: 7.582 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.066, allocations: 0 / 1.355 GB, free: 7.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009757/1.067, allocations: 0.5725 MB / 1.355 GB, free: 7.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.068, allocations: 319.8 kB / 1.355 GB, free: 7.215 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.079, allocations: 6.857 MB / 1.362 GB, free: 3.238 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/1.08, allocations: 1.072 MB / 1.363 GB, free: 2.375 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009327/1.081, allocations: 304.7 kB / 1.364 GB, free: 2.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006098/1.081, allocations: 439.8 kB / 1.364 GB, free: 1.871 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/1.081, allocations: 0 / 1.364 GB, free: 1.871 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05256/1.134, allocations: 24.11 MB / 1.387 GB, free: 1.848 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.21, allocations: 4.062 kB / 1.387 GB, free: 1.844 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,walSolAzi.verAzi Variables in the result:time,altAng.alt,incAng.y,walSolAzi.verAzi,weaBus.HDifHor,weaBus.HDirNor