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.01066/0.01066, allocations: 101 kB / 15.73 MB, free: 6.059 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.002301/0.002301, allocations: 192.3 kB / 16.67 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 2.623/2.623, allocations: 222.9 MB / 240.4 MB, free: 15.09 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 4.997/4.997, allocations: 437.1 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003494/0.003494, allocations: 63.91 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549/1.552, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.01505/1.567, allocations: 5.382 MB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.3653/1.933, allocations: 150.8 MB / 1.319 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/1.935, allocations: 23.88 kB / 1.319 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/1.936, allocations: 202 kB / 1.319 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004723/1.941, allocations: 0.6135 MB / 1.319 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004938/1.946, allocations: 0.8807 MB / 1.32 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004181/1.95, allocations: 1.569 MB / 1.322 GB, free: 3.723 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/1.952, allocations: 0.6668 MB / 1.322 GB, free: 3.035 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/1.954, allocations: 0.5645 MB / 1.323 GB, free: 2.469 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/1.956, allocations: 0.5951 MB / 1.324 GB, free: 1.871 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004053/1.956, allocations: 132 kB / 1.324 GB, free: 1.742 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/1.958, allocations: 0.5191 MB / 1.324 GB, free: 1.223 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006038/1.959, allocations: 338.9 kB / 1.325 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/1.96, allocations: 0.6491 MB / 1.325 GB, free: 244 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004693/1.965, allocations: 1.869 MB / 1.327 GB, free: 14.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.965, allocations: 0 / 1.327 GB, free: 14.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 6.472e-06/1.965, allocations: 0 / 1.327 GB, free: 14.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.484e-05/1.965, allocations: 3.938 kB / 1.327 GB, free: 14.36 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.006062/1.971, allocations: 1.618 MB / 1.329 GB, free: 12.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.42e-05/1.971, allocations: 12.61 kB / 1.329 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00036/1.971, allocations: 156.5 kB / 1.329 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/1.973, allocations: 208 kB / 1.329 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/1.976, allocations: 0.8251 MB / 1.33 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/1.976, allocations: 74.02 kB / 1.33 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/1.977, allocations: 100 kB / 1.33 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004205/1.981, allocations: 1.063 MB / 1.331 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/1.981, allocations: 0 / 1.331 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/1.981, allocations: 47.94 kB / 1.331 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/1.981, allocations: 27.94 kB / 1.331 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004527/1.986, allocations: 1.225 MB / 1.332 GB, free: 8.84 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.01118/1.997, allocations: 3.174 MB / 1.335 GB, free: 5.535 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003666/2.001, allocations: 0.8897 MB / 1.336 GB, free: 4.645 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/2.002, allocations: 343.7 kB / 1.337 GB, free: 4.309 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/2.002, allocations: 33.03 kB / 1.337 GB, free: 4.277 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002091/2.005, allocations: 0.5553 MB / 1.337 GB, free: 3.699 MB / 1.061 GB Notification: Performance of pre-optimization done (n=92): time 4.699e-06/2.005, allocations: 0 / 1.337 GB, free: 3.699 MB / 1.061 GB Notification: Performance of matching and sorting (n=92): time 0.007248/2.012, allocations: 1.349 MB / 1.338 GB, free: 2.328 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002446/2.012, allocations: 192.9 kB / 1.339 GB, free: 2.094 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/2.014, allocations: 0.6726 MB / 1.339 GB, free: 1.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/2.014, allocations: 49.69 kB / 1.339 GB, free: 1.355 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007548/2.015, allocations: 461 kB / 1.34 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/2.016, allocations: 305.4 kB / 1.34 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005323/2.016, allocations: 170.6 kB / 1.34 GB, free: 436 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0003906/2.017, allocations: 394.7 kB / 1.341 GB, free: 32 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/2.018, allocations: 277.9 kB / 1.341 GB, free: 15.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/2.02, allocations: 410.5 kB / 1.341 GB, free: 15.33 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002748/2.022, allocations: 0.6633 MB / 1.342 GB, free: 14.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/2.022, allocations: 0 / 1.342 GB, free: 14.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004492/2.027, allocations: 0.9194 MB / 1.343 GB, free: 13.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/2.027, allocations: 8 kB / 1.343 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/2.027, allocations: 0 / 1.343 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/2.028, allocations: 80.84 kB / 1.343 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/2.03, allocations: 175.7 kB / 1.343 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/2.034, allocations: 1.637 MB / 1.345 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/2.036, allocations: 107.4 kB / 1.345 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/2.036, allocations: 31.98 kB / 1.345 GB, free: 11.55 MB / 1.076 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.001142/2.037, allocations: 288.5 kB / 1.345 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005116/2.038, allocations: 99.33 kB / 1.345 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005911/2.044, allocations: 1.227 MB / 1.346 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/2.044, allocations: 12 kB / 1.346 GB, free: 9.914 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/2.044, allocations: 4 kB / 1.346 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/2.044, allocations: 3.984 kB / 1.346 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/2.047, allocations: 1.028 MB / 1.347 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/2.047, allocations: 0 / 1.347 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/2.049, allocations: 163.8 kB / 1.348 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008788/2.049, allocations: 76.73 kB / 1.348 GB, free: 8.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/2.05, allocations: 31.97 kB / 1.348 GB, free: 8.559 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/2.054, allocations: 1.662 MB / 1.349 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.054, allocations: 0 / 1.349 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004896/2.059, allocations: 1.049 MB / 1.35 GB, free: 5.676 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/2.06, allocations: 304.1 kB / 1.351 GB, free: 5.359 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/2.06, allocations: 20 kB / 1.351 GB, free: 5.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/2.062, allocations: 67.92 kB / 1.351 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/2.062, allocations: 80.89 kB / 1.351 GB, free: 5.195 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/2.062, allocations: 48.03 kB / 1.351 GB, free: 5.148 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001462/2.064, allocations: 0.4912 MB / 1.351 GB, free: 4.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.02e-07/2.064, allocations: 0 / 1.351 GB, free: 4.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002036/2.066, allocations: 375 kB / 1.352 GB, free: 4.293 MB / 1.076 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.009213/2.075, allocations: 2.127 MB / 1.354 GB, free: 2.301 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004245/2.079, allocations: 0.9014 MB / 1.355 GB, free: 1.387 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/2.079, allocations: 192 / 1.355 GB, free: 1.387 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/2.082, allocations: 0.5705 MB / 1.355 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/2.084, allocations: 325.2 kB / 1.355 GB, free: 0.5078 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/2.11, allocations: 6.858 MB / 1.362 GB, free: 9.504 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/2.112, allocations: 1.067 MB / 1.363 GB, free: 8.406 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002227/2.114, allocations: 291.6 kB / 1.363 GB, free: 8.117 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/2.116, allocations: 443.2 kB / 1.364 GB, free: 7.684 MB / 1.092 GB Notification: Performance of SimCode: time 2.104e-06/2.116, allocations: 4 kB / 1.364 GB, free: 7.68 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/2.24, allocations: 24.1 MB / 1.387 GB, free: 15.84 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.88/23.12, allocations: 7.938 kB / 1.387 GB, free: 15.83 MB / 1.123 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