Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_11_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.004444/0.004444, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.001239/0.001239, allocations: 195.8 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2715, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007199/0.2787, allocations: 5.363 MB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6667/0.9454, allocations: 150.8 MB / 1.373 GB, free: 10.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007552/0.9461, allocations: 15.69 kB / 1.373 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006782/0.9468, allocations: 211.7 kB / 1.373 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.9488, allocations: 0.5954 MB / 1.373 GB, free: 10.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.9509, allocations: 0.8928 MB / 1.374 GB, free: 9.633 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001859/0.9527, allocations: 1.568 MB / 1.376 GB, free: 8.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.9538, allocations: 0.673 MB / 1.376 GB, free: 8.469 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000854/0.9546, allocations: 0.5601 MB / 1.377 GB, free: 8.188 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008876/0.9555, allocations: 0.5882 MB / 1.378 GB, free: 7.879 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.9558, allocations: 135.3 kB / 1.378 GB, free: 7.879 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009999/0.9568, allocations: 0.5196 MB / 1.378 GB, free: 7.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.9572, allocations: 336.6 kB / 1.379 GB, free: 7.535 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.958, allocations: 0.6481 MB / 1.379 GB, free: 7.105 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.9603, allocations: 1.868 MB / 1.381 GB, free: 5.938 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.9603, allocations: 0 / 1.381 GB, free: 5.938 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9603, allocations: 0 / 1.381 GB, free: 5.938 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.9604, allocations: 2.812 kB / 1.381 GB, free: 5.938 MB / 1.076 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.002971/0.9633, allocations: 1.624 MB / 1.383 GB, free: 4.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.9634, allocations: 9.656 kB / 1.383 GB, free: 4.66 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/0.9636, allocations: 155.1 kB / 1.383 GB, free: 4.535 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009632/0.9645, allocations: 211.8 kB / 1.383 GB, free: 4.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.9658, allocations: 0.8227 MB / 1.384 GB, free: 3.758 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.9659, allocations: 78.77 kB / 1.384 GB, free: 3.719 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.966, allocations: 92.91 kB / 1.384 GB, free: 3.691 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.9679, allocations: 1.077 MB / 1.385 GB, free: 2.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.968, allocations: 0 / 1.385 GB, free: 2.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.9681, allocations: 42.41 kB / 1.385 GB, free: 2.949 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.9681, allocations: 24.19 kB / 1.385 GB, free: 2.949 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.9702, allocations: 1.226 MB / 1.386 GB, free: 2.359 MB / 1.076 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.004849/0.9751, allocations: 3.162 MB / 1.389 GB, free: 15.83 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.9768, allocations: 0.8956 MB / 1.39 GB, free: 15.37 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/0.9775, allocations: 347.7 kB / 1.391 GB, free: 15.2 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.471e-05/0.9776, allocations: 37.31 kB / 1.391 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.9786, allocations: 0.5502 MB / 1.391 GB, free: 14.83 MB / 1.092 GB Notification: Performance of pre-optimization done (n=92): time 2.184e-06/0.9786, allocations: 0 / 1.391 GB, free: 14.83 MB / 1.092 GB Notification: Performance of matching and sorting (n=92): time 0.003595/0.9822, allocations: 1.348 MB / 1.392 GB, free: 14.11 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.9824, allocations: 198.9 kB / 1.393 GB, free: 13.88 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/0.9833, allocations: 0.6871 MB / 1.393 GB, free: 13.48 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.9833, allocations: 43.8 kB / 1.393 GB, free: 13.43 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.9837, allocations: 455.7 kB / 1.394 GB, free: 13.04 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.984, allocations: 307.7 kB / 1.394 GB, free: 12.77 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.9843, allocations: 168.1 kB / 1.394 GB, free: 12.67 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.9845, allocations: 394.8 kB / 1.395 GB, free: 12.29 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/0.9851, allocations: 295.8 kB / 1.395 GB, free: 12.14 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/0.9859, allocations: 396 kB / 1.395 GB, free: 11.9 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.9872, allocations: 0.6645 MB / 1.396 GB, free: 11.54 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.9873, allocations: 6.359 kB / 1.396 GB, free: 11.54 MB / 1.092 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002168/0.9894, allocations: 0.9115 MB / 1.397 GB, free: 11.07 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9895, allocations: 5.5 kB / 1.397 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9895, allocations: 1.375 kB / 1.397 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.9901, allocations: 80.84 kB / 1.397 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.9908, allocations: 180.9 kB / 1.397 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.9931, allocations: 1.624 MB / 1.399 GB, free: 9.387 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/0.9938, allocations: 115.2 kB / 1.399 GB, free: 9.309 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.9939, allocations: 31.05 kB / 1.399 GB, free: 9.301 MB / 1.092 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.0004114/0.9943, allocations: 282.9 kB / 1.399 GB, free: 9.078 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.9945, allocations: 100.2 kB / 1.399 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/0.9974, allocations: 1.228 MB / 1.4 GB, free: 8.34 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.9974, allocations: 11.62 kB / 1.4 GB, free: 8.34 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.9974, allocations: 0 / 1.4 GB, free: 8.34 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.9975, allocations: 7.969 kB / 1.4 GB, free: 8.332 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.9987, allocations: 1.014 MB / 1.401 GB, free: 7.574 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.9987, allocations: 0 / 1.401 GB, free: 7.574 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006987/0.9994, allocations: 164.2 kB / 1.402 GB, free: 7.539 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/0.9998, allocations: 75.69 kB / 1.402 GB, free: 7.5 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.9999, allocations: 28.42 kB / 1.402 GB, free: 7.48 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/1.002, allocations: 1.67 MB / 1.403 GB, free: 5.848 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.002, allocations: 3.938 kB / 1.403 GB, free: 5.844 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/1.004, allocations: 1.044 MB / 1.404 GB, free: 5.301 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/1.005, allocations: 304.4 kB / 1.405 GB, free: 5.035 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/1.005, allocations: 26.66 kB / 1.405 GB, free: 5.016 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/1.005, allocations: 70.23 kB / 1.405 GB, free: 4.98 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.006, allocations: 78.78 kB / 1.405 GB, free: 4.941 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/1.006, allocations: 41.62 kB / 1.405 GB, free: 4.926 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005976/1.006, allocations: 0.492 MB / 1.405 GB, free: 4.641 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/1.006, allocations: 9.875 kB / 1.405 GB, free: 4.637 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008114/1.007, allocations: 373.2 kB / 1.406 GB, free: 4.527 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: 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.004367/1.012, allocations: 2.126 MB / 1.408 GB, free: 3.234 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001727/1.013, allocations: 0.8886 MB / 1.409 GB, free: 2.777 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.013, allocations: 6.578 kB / 1.409 GB, free: 2.773 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.014, allocations: 0.5742 MB / 1.409 GB, free: 2.449 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.016, allocations: 314.8 kB / 1.409 GB, free: 2.293 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/1.027, allocations: 6.855 MB / 1.416 GB, free: 11.97 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007776/1.028, allocations: 1.075 MB / 1.417 GB, free: 10.87 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008747/1.029, allocations: 307.5 kB / 1.417 GB, free: 10.56 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006854/1.029, allocations: 445 kB / 1.418 GB, free: 10.13 MB / 1.107 GB Notification: Performance of SimCode: time 3.597e-06/1.029, allocations: 0 / 1.418 GB, free: 10.13 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05968/1.089, allocations: 24.1 MB / 1.441 GB, free: 2.398 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.17, allocations: 8.047 kB / 1.441 GB, free: 2.391 MB / 1.123 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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