Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_9_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.007609/0.007609, allocations: 98.58 kB / 15.73 MB, free: 6.016 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.001865/0.001865, allocations: 193.2 kB / 16.68 MB, free: 5.934 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 55.91 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6899, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005128/0.6951, allocations: 4.62 MB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.8544, allocations: 150.7 MB / 1.239 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.8555, allocations: 15.62 kB / 1.239 GB, free: 488 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008079/0.8563, allocations: 180.9 kB / 1.239 GB, free: 324 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.8588, allocations: 0.5511 MB / 1.24 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.8613, allocations: 0.8812 MB / 1.241 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.8631, allocations: 1.441 MB / 1.242 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.8642, allocations: 0.7174 MB / 1.243 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008529/0.8651, allocations: 0.5462 MB / 1.243 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/0.8657, allocations: 0.5764 MB / 1.244 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.8659, allocations: 136.2 kB / 1.244 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009852/0.8669, allocations: 0.5134 MB / 1.245 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.8672, allocations: 339.6 kB / 1.245 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.8677, allocations: 0.6257 MB / 1.245 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.8696, allocations: 1.835 MB / 1.247 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8697, allocations: 0 / 1.247 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8697, allocations: 0 / 1.247 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.8697, allocations: 0 / 1.247 GB, free: 10.14 MB / 0.9825 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.002533/0.8722, allocations: 1.606 MB / 1.249 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.8723, allocations: 8.031 kB / 1.249 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.8724, allocations: 156.5 kB / 1.249 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008974/0.8733, allocations: 211.9 kB / 1.249 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.8745, allocations: 0.8212 MB / 1.25 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.8745, allocations: 78 kB / 1.25 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.8747, allocations: 92 kB / 1.25 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.8763, allocations: 1.067 MB / 1.251 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.8763, allocations: 3.938 kB / 1.251 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.8764, allocations: 44 kB / 1.251 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.8765, allocations: 32 kB / 1.251 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.8783, allocations: 1.221 MB / 1.252 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/0.8823, allocations: 2.906 MB / 1.255 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.8838, allocations: 0.8859 MB / 1.256 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.8844, allocations: 347.6 kB / 1.257 GB, free: 428 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.055e-05/0.8844, allocations: 29.03 kB / 1.257 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008814/0.8853, allocations: 0.5553 MB / 1.257 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=92): time 2.555e-06/0.8854, allocations: 0 / 1.257 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.003104/0.8885, allocations: 1.337 MB / 1.258 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.8886, allocations: 192.9 kB / 1.259 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007592/0.8893, allocations: 0.6881 MB / 1.259 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.8894, allocations: 41.7 kB / 1.259 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.8897, allocations: 453.1 kB / 1.26 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.8899, allocations: 313.4 kB / 1.26 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.8902, allocations: 166.6 kB / 1.26 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8903, allocations: 394.7 kB / 1.261 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005173/0.8908, allocations: 281.8 kB / 1.261 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.8915, allocations: 414.6 kB / 1.261 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.8926, allocations: 0.6555 MB / 1.262 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8926, allocations: 4 kB / 1.262 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001896/0.8945, allocations: 0.9077 MB / 1.263 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8945, allocations: 4 kB / 1.263 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8945, allocations: 0 / 1.263 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005631/0.8951, allocations: 84.83 kB / 1.263 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.8958, allocations: 175.8 kB / 1.263 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.8978, allocations: 1.63 MB / 1.265 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/0.8984, allocations: 103.4 kB / 1.265 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.8985, allocations: 35.97 kB / 1.265 GB, free: 7.695 MB / 0.9981 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.0003896/0.8989, allocations: 279.5 kB / 1.265 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.8991, allocations: 99.39 kB / 1.265 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.9016, allocations: 1.223 MB / 1.266 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.9016, allocations: 12 kB / 1.266 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.9016, allocations: 3.938 kB / 1.266 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.9016, allocations: 7.969 kB / 1.266 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.9026, allocations: 1.021 MB / 1.267 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.9026, allocations: 0 / 1.267 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/0.9033, allocations: 171.7 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/0.9037, allocations: 76.78 kB / 1.268 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/0.9038, allocations: 23.98 kB / 1.268 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.9055, allocations: 1.658 MB / 1.269 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9055, allocations: 64 / 1.269 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.9075, allocations: 1.057 MB / 1.27 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.9079, allocations: 300.1 kB / 1.271 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.908, allocations: 24 kB / 1.271 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/0.9087, allocations: 67.92 kB / 1.271 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.9089, allocations: 80.89 kB / 1.271 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.071e-05/0.9089, allocations: 39.97 kB / 1.271 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005545/0.9095, allocations: 0.4951 MB / 1.271 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9095, allocations: 0 / 1.271 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008098/0.9103, allocations: 363 kB / 1.272 GB, free: 472 kB / 0.9981 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.003451/0.9138, allocations: 2.137 MB / 1.274 GB, free: 14.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.9155, allocations: 0.8937 MB / 1.274 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9155, allocations: 4 kB / 1.274 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009423/0.9165, allocations: 0.5706 MB / 1.275 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.9176, allocations: 298.7 kB / 1.275 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.9281, allocations: 6.942 MB / 1.282 GB, free: 5.621 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.9287, allocations: 1.079 MB / 1.283 GB, free: 4.512 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007849/0.9295, allocations: 283.3 kB / 1.283 GB, free: 4.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005571/0.9301, allocations: 439.2 kB / 1.284 GB, free: 3.801 MB / 1.014 GB Notification: Performance of SimCode: time 6.92e-07/0.9301, allocations: 0 / 1.284 GB, free: 3.801 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/0.9768, allocations: 23.53 MB / 1.307 GB, free: 12.61 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.09, allocations: 15.81 kB / 1.307 GB, free: 12.6 MB / 1.045 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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