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.004338/0.004338, allocations: 96.84 kB / 15.73 MB, free: 6.055 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.001033/0.001033, allocations: 192.8 kB / 16.67 MB, free: 5.965 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.206/1.206, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.13/2.13, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.689/0.6903, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005332/0.6957, allocations: 4.62 MB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1575/0.8533, allocations: 150.7 MB / 1.239 GB, free: 480 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009618/0.8543, allocations: 19.25 kB / 1.239 GB, free: 472 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006474/0.8549, allocations: 188.4 kB / 1.239 GB, free: 300 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.8569, allocations: 0.5399 MB / 1.24 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.8591, allocations: 0.8829 MB / 1.241 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001557/0.8607, allocations: 1.43 MB / 1.242 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009618/0.8616, allocations: 0.7213 MB / 1.243 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007723/0.8624, allocations: 0.5535 MB / 1.243 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007535/0.8632, allocations: 0.565 MB / 1.244 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.8634, allocations: 135.3 kB / 1.244 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009726/0.8644, allocations: 0.5253 MB / 1.245 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.8647, allocations: 341.1 kB / 1.245 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005893/0.8653, allocations: 0.6179 MB / 1.245 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.8672, allocations: 1.822 MB / 1.247 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8672, allocations: 0 / 1.247 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8672, allocations: 0 / 1.247 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.063e-05/0.8673, allocations: 4 kB / 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.002718/0.87, allocations: 1.565 MB / 1.249 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.87, allocations: 12.03 kB / 1.249 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000218/0.8703, allocations: 152.5 kB / 1.249 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009123/0.8712, allocations: 207.2 kB / 1.249 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.8724, allocations: 0.8167 MB / 1.25 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.8725, allocations: 74.02 kB / 1.25 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.8726, allocations: 96 kB / 1.25 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.8743, allocations: 1.067 MB / 1.251 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.8743, allocations: 0 / 1.251 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.8744, allocations: 43.94 kB / 1.251 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.8745, allocations: 24 kB / 1.251 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.8763, allocations: 1.229 MB / 1.252 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004191/0.8805, allocations: 2.885 MB / 1.255 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.882, allocations: 0.9013 MB / 1.256 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/0.8826, allocations: 347.6 kB / 1.256 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.736e-05/0.8827, allocations: 37.02 kB / 1.256 GB, free: 452 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008579/0.8835, allocations: 0.5474 MB / 1.257 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=92): time 3.386e-06/0.8835, allocations: 0 / 1.257 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.003103/0.8866, allocations: 1.337 MB / 1.258 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.8867, allocations: 192.9 kB / 1.258 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007434/0.8875, allocations: 0.6765 MB / 1.259 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.8876, allocations: 41.7 kB / 1.259 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.8879, allocations: 452.3 kB / 1.26 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.8881, allocations: 291.8 kB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.8883, allocations: 174.4 kB / 1.26 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8885, allocations: 398.8 kB / 1.26 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.889, allocations: 281.8 kB / 1.261 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.8896, allocations: 398.5 kB / 1.261 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.8907, allocations: 0.6633 MB / 1.262 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.8907, allocations: 0 / 1.262 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001878/0.8926, allocations: 0.8995 MB / 1.263 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8927, allocations: 8 kB / 1.263 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8927, allocations: 0 / 1.263 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005551/0.8932, allocations: 80.83 kB / 1.263 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.8939, allocations: 179.7 kB / 1.263 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.8958, allocations: 1.63 MB / 1.264 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.8964, allocations: 103.3 kB / 1.265 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.8965, allocations: 39.97 kB / 1.265 GB, free: 7.785 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.0003724/0.8969, allocations: 279.4 kB / 1.265 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.8971, allocations: 94.81 kB / 1.265 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.8996, allocations: 1.223 MB / 1.266 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.8996, allocations: 12 kB / 1.266 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8996, allocations: 4 kB / 1.266 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.8996, allocations: 3.984 kB / 1.266 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.9006, allocations: 1.02 MB / 1.267 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.9007, allocations: 0 / 1.267 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.9013, allocations: 159.8 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.9017, allocations: 76.78 kB / 1.267 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.9018, allocations: 35.91 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.9035, allocations: 1.654 MB / 1.269 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.9035, allocations: 144 / 1.269 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.9054, allocations: 1.049 MB / 1.27 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.9058, allocations: 295.6 kB / 1.27 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.9059, allocations: 31.92 kB / 1.27 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.9066, allocations: 63.94 kB / 1.27 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.9067, allocations: 80.88 kB / 1.271 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.493e-05/0.9068, allocations: 43.97 kB / 1.271 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005396/0.9074, allocations: 499 kB / 1.271 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9074, allocations: 0 / 1.271 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007792/0.9082, allocations: 359.1 kB / 1.271 GB, free: 0.582 MB / 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.003715/0.9119, allocations: 2.115 MB / 1.273 GB, free: 14.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.9135, allocations: 0.9015 MB / 1.274 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9136, allocations: 0 / 1.274 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009442/0.9145, allocations: 0.5744 MB / 1.275 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.9157, allocations: 301.2 kB / 1.275 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.9267, allocations: 6.901 MB / 1.282 GB, free: 5.793 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.9273, allocations: 1.076 MB / 1.283 GB, free: 4.688 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007984/0.9281, allocations: 283.4 kB / 1.283 GB, free: 4.406 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.9286, allocations: 439.3 kB / 1.284 GB, free: 3.977 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/0.9287, allocations: 0 / 1.284 GB, free: 3.977 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.816/3.745, allocations: 24.02 MB / 1.307 GB, free: 12.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.58/29.32, allocations: 9.312 kB / 1.307 GB, free: 12.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches