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.007837/0.007837, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001906/0.001906, allocations: 187.4 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 1.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.215/2.215, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 66.61 kB / 0.9504 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2227, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005681/0.2284, allocations: 4.623 MB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1379/0.3663, allocations: 150.7 MB / 1.239 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.3671, allocations: 19.94 kB / 1.239 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.3678, allocations: 178.3 kB / 1.239 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.3696, allocations: 0.5532 MB / 1.24 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.3716, allocations: 0.8684 MB / 1.241 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.3732, allocations: 1.441 MB / 1.242 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.3743, allocations: 0.7149 MB / 1.243 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007812/0.3751, allocations: 0.5372 MB / 1.243 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007064/0.3758, allocations: 0.5834 MB / 1.244 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.3761, allocations: 136 kB / 1.244 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008776/0.377, allocations: 0.5191 MB / 1.245 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.3773, allocations: 334.9 kB / 1.245 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007658/0.3781, allocations: 0.6219 MB / 1.245 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.3801, allocations: 1.823 MB / 1.247 GB, free: 13.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3801, allocations: 0 / 1.247 GB, free: 13.71 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3801, allocations: 3.938 kB / 1.247 GB, free: 13.71 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.117e-05/0.3802, allocations: 0 / 1.247 GB, free: 13.71 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.002788/0.383, allocations: 1.569 MB / 1.249 GB, free: 12.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.383, allocations: 8.031 kB / 1.249 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.3832, allocations: 156.5 kB / 1.249 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/0.3841, allocations: 207.2 kB / 1.249 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3852, allocations: 0.8089 MB / 1.25 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.3853, allocations: 77.95 kB / 1.25 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3854, allocations: 96 kB / 1.25 GB, free: 10.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.387, allocations: 1.067 MB / 1.251 GB, free: 9.555 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.387, allocations: 3.938 kB / 1.251 GB, free: 9.551 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.3871, allocations: 44 kB / 1.251 GB, free: 9.508 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.3871, allocations: 24 kB / 1.251 GB, free: 9.484 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.3889, allocations: 1.229 MB / 1.252 GB, free: 8.254 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.3929, allocations: 2.893 MB / 1.255 GB, free: 5.281 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.3945, allocations: 0.8859 MB / 1.256 GB, free: 4.398 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.395, allocations: 339.7 kB / 1.256 GB, free: 4.059 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.3951, allocations: 37.02 kB / 1.256 GB, free: 4.023 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008831/0.396, allocations: 0.5551 MB / 1.257 GB, free: 3.449 MB / 1.014 GB Notification: Performance of pre-optimization done (n=92): time 2.315e-06/0.396, allocations: 0 / 1.257 GB, free: 3.449 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.003115/0.3991, allocations: 1.333 MB / 1.258 GB, free: 2.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.3992, allocations: 192.9 kB / 1.258 GB, free: 1.859 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.4, allocations: 0.6842 MB / 1.259 GB, free: 1.172 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.4, allocations: 45.64 kB / 1.259 GB, free: 1.121 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.4003, allocations: 448.3 kB / 1.26 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.4005, allocations: 295.8 kB / 1.26 GB, free: 392 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.4008, allocations: 170.4 kB / 1.26 GB, free: 212 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.4604/0.8611, allocations: 390.8 kB / 1.26 GB, free: 173.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/0.8619, allocations: 282.5 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.8626, allocations: 399 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.8638, allocations: 0.6588 MB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.8638, allocations: 0 / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00212/0.8659, allocations: 0.9013 MB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.8659, allocations: 6.078 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.8659, allocations: 1.094 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.8665, allocations: 87.27 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.8673, allocations: 175.3 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.869, allocations: 1.628 MB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.8697, allocations: 104.9 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/0.8698, allocations: 36.77 kB / 1.265 GB, free: 171.8 MB / 1.014 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.0004225/0.8702, allocations: 286 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.8704, allocations: 91.23 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.873, allocations: 1.231 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.873, allocations: 11.33 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.873, allocations: 0.7188 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.873, allocations: 9.328 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.8742, allocations: 1.005 MB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8742, allocations: 3.406 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/0.8748, allocations: 171.1 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/0.8753, allocations: 70 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.8753, allocations: 42.72 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.8768, allocations: 1.646 MB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8768, allocations: 4.734 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.8789, allocations: 1.038 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.8793, allocations: 299.5 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.8794, allocations: 30.14 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.8801, allocations: 75.62 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.8803, allocations: 85.09 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.78e-05/0.8804, allocations: 41.39 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006654/0.881, allocations: 498.8 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.881, allocations: 0.9375 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001033/0.8821, allocations: 348.7 kB / 1.271 GB, free: 168.1 MB / 1.014 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.003774/0.8859, allocations: 2.116 MB / 1.273 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.8879, allocations: 0.9016 MB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8879, allocations: 1.156 kB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.8888, allocations: 0.57 MB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.8899, allocations: 293.9 kB / 1.275 GB, free: 166.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.9005, allocations: 6.912 MB / 1.282 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.901, allocations: 1.077 MB / 1.283 GB, free: 162.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008039/0.9019, allocations: 288 kB / 1.283 GB, free: 162.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/0.9024, allocations: 444.4 kB / 1.284 GB, free: 161.8 MB / 1.014 GB Notification: Performance of SimCode: time 5.62e-07/0.9024, allocations: 0 / 1.284 GB, free: 161.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04599/0.9484, allocations: 23.55 MB / 1.307 GB, free: 153.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.94, allocations: 3.75 kB / 1.307 GB, free: 153.6 MB / 1.014 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