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.001232/0.001232, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 193 kB / 16.53 MB, free: 6.391 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.229/1.229, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.332/2.332, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.89 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4934, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006609/0.5, allocations: 5.378 MB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1306/0.6306, allocations: 150.8 MB / 1.17 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007436/0.6314, allocations: 15.94 kB / 1.17 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.632, allocations: 206 kB / 1.17 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.6338, allocations: 0.6097 MB / 1.171 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.6356, allocations: 0.8876 MB / 1.172 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.637, allocations: 1.549 MB / 1.173 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008358/0.6378, allocations: 0.6641 MB / 1.174 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006424/0.6385, allocations: 0.5645 MB / 1.174 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.6391, allocations: 0.5873 MB / 1.175 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.6392, allocations: 136 kB / 1.175 GB, free: 500 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007452/0.64, allocations: 0.4918 MB / 1.175 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.6403, allocations: 338.9 kB / 1.176 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.6407, allocations: 0.653 MB / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.6422, allocations: 1.815 MB / 1.178 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.6422, allocations: 0 / 1.178 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6422, allocations: 0 / 1.178 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.6422, allocations: 0 / 1.178 GB, free: 13.19 MB / 0.9356 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.002311/0.6446, allocations: 1.586 MB / 1.18 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.6446, allocations: 8.031 kB / 1.18 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.6448, allocations: 160.5 kB / 1.18 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008484/0.6456, allocations: 203.2 kB / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009039/0.6465, allocations: 0.7972 MB / 1.181 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.6466, allocations: 81.98 kB / 1.181 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.6467, allocations: 92 kB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.6482, allocations: 1.071 MB / 1.182 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.6483, allocations: 3.938 kB / 1.182 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/0.6483, allocations: 44 kB / 1.182 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.6484, allocations: 24 kB / 1.182 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.6501, allocations: 1.229 MB / 1.183 GB, free: 7.727 MB / 0.9356 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.003913/0.654, allocations: 3.191 MB / 1.186 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.6555, allocations: 0.8906 MB / 1.187 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/0.656, allocations: 347.6 kB / 1.188 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.856e-05/0.6561, allocations: 33.02 kB / 1.188 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008642/0.657, allocations: 0.5552 MB / 1.188 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=92): time 1.974e-06/0.657, allocations: 7.938 kB / 1.188 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92): time 0.003092/0.6601, allocations: 1.341 MB / 1.19 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.6602, allocations: 192.9 kB / 1.19 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006754/0.6609, allocations: 0.6765 MB / 1.19 GB, free: 272 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.6609, allocations: 45.7 kB / 1.19 GB, free: 220 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.6612, allocations: 448.4 kB / 1.191 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.6614, allocations: 291.7 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.6616, allocations: 178.4 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6618, allocations: 390.8 kB / 1.192 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.6623, allocations: 289.8 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/0.6629, allocations: 398.5 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.664, allocations: 0.6672 MB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6641, allocations: 0 / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001853/0.6659, allocations: 0.9072 MB / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.6659, allocations: 7.938 kB / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.6659, allocations: 4 kB / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.6665, allocations: 84.83 kB / 1.194 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.6672, allocations: 171.8 kB / 1.194 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.669, allocations: 1.642 MB / 1.196 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.6696, allocations: 95.3 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.6697, allocations: 39.97 kB / 1.196 GB, free: 10.43 MB / 0.9512 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.0003377/0.67, allocations: 287.4 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.6702, allocations: 94.88 kB / 1.196 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.6727, allocations: 1.226 MB / 1.197 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.6727, allocations: 8 kB / 1.197 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6727, allocations: 8 kB / 1.197 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.6727, allocations: 3.984 kB / 1.197 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000979/0.6737, allocations: 1.013 MB / 1.198 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6737, allocations: 4 kB / 1.198 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/0.6743, allocations: 167.7 kB / 1.199 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000417/0.6748, allocations: 68.8 kB / 1.199 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/0.6749, allocations: 35.97 kB / 1.199 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.6765, allocations: 1.662 MB / 1.2 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6765, allocations: 0 / 1.2 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.6785, allocations: 1.041 MB / 1.201 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.6788, allocations: 299.5 kB / 1.202 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.679, allocations: 23.98 kB / 1.202 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/0.6796, allocations: 63.94 kB / 1.202 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.6798, allocations: 84.88 kB / 1.202 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/0.6799, allocations: 43.97 kB / 1.202 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005284/0.6804, allocations: 499 kB / 1.202 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6804, allocations: 0 / 1.202 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007561/0.6812, allocations: 375 kB / 1.203 GB, free: 3.195 MB / 0.9512 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.003338/0.6845, allocations: 2.123 MB / 1.205 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002356/0.6869, allocations: 1.128 MB / 1.206 GB, free: 88 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6869, allocations: 0 / 1.206 GB, free: 88 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009265/0.6878, allocations: 0.5743 MB / 1.206 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.6889, allocations: 312.4 kB / 1.207 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009673/0.6986, allocations: 7.108 MB / 1.214 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.6991, allocations: 1.071 MB / 1.215 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000829/0.7, allocations: 311.5 kB / 1.215 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005373/0.7005, allocations: 435.2 kB / 1.215 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.7005, allocations: 3.938 kB / 1.215 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04665/0.7472, allocations: 23.83 MB / 1.239 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/10.99, allocations: 12.17 kB / 1.239 GB, free: 14.61 MB / 0.9981 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