Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_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.001211/0.001211, 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.0009377/0.0009377, allocations: 193.9 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.193/1.193, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.453/2.453, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 66.8 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2332, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006225/0.2395, allocations: 5.358 MB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1317/0.3712, allocations: 150.8 MB / 1.216 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007267/0.372, allocations: 15.94 kB / 1.216 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.3725, allocations: 210 kB / 1.216 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.3743, allocations: 0.6 MB / 1.217 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.3761, allocations: 0.877 MB / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.3775, allocations: 1.553 MB / 1.219 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008237/0.3783, allocations: 0.6802 MB / 1.22 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000628/0.3789, allocations: 0.549 MB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.3796, allocations: 0.5912 MB / 1.221 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.3798, allocations: 136 kB / 1.221 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000784/0.3806, allocations: 0.4957 MB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.3809, allocations: 334.9 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000511/0.3814, allocations: 0.653 MB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.383, allocations: 1.815 MB / 1.224 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.383, allocations: 0 / 1.224 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.383, allocations: 0 / 1.224 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.494e-05/0.3831, allocations: 0 / 1.224 GB, free: 9.215 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.002843/0.3859, allocations: 1.583 MB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.386, allocations: 12.03 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.3862, allocations: 152.5 kB / 1.226 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009186/0.3871, allocations: 211.2 kB / 1.226 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3881, allocations: 0.7933 MB / 1.227 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.3882, allocations: 74.02 kB / 1.227 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.3883, allocations: 100 kB / 1.227 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.3899, allocations: 1.071 MB / 1.228 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.3899, allocations: 4 kB / 1.228 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.39, allocations: 44 kB / 1.228 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.39, allocations: 24 kB / 1.228 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.3918, allocations: 1.225 MB / 1.23 GB, free: 3.766 MB / 0.9825 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.003979/0.3958, allocations: 3.191 MB / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.3972, allocations: 0.9052 MB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.3978, allocations: 343.7 kB / 1.234 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.965e-05/0.3979, allocations: 37.02 kB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008363/0.3987, allocations: 0.5475 MB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=92): time 2.004e-06/0.3987, allocations: 0 / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.003096/0.4018, allocations: 1.349 MB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.4019, allocations: 192.9 kB / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/0.4026, allocations: 0.6803 MB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.4027, allocations: 41.7 kB / 1.237 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.4029, allocations: 444.3 kB / 1.237 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.4031, allocations: 303.7 kB / 1.237 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.4034, allocations: 166.5 kB / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4035, allocations: 398.7 kB / 1.238 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.404, allocations: 285.8 kB / 1.238 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/0.4046, allocations: 406.4 kB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.4057, allocations: 0.6633 MB / 1.239 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4058, allocations: 0 / 1.239 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001849/0.4076, allocations: 0.9034 MB / 1.24 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4076, allocations: 8 kB / 1.24 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4077, allocations: 0 / 1.24 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/0.4082, allocations: 88.77 kB / 1.24 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.4089, allocations: 183.8 kB / 1.24 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.4107, allocations: 1.626 MB / 1.242 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.4114, allocations: 100.8 kB / 1.242 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/0.4115, allocations: 39.97 kB / 1.242 GB, free: 6.461 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.0003281/0.4118, allocations: 284.1 kB / 1.242 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.412, allocations: 90.88 kB / 1.243 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.4144, allocations: 1.223 MB / 1.244 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.4145, allocations: 12 kB / 1.244 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4145, allocations: 4 kB / 1.244 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.4145, allocations: 7.969 kB / 1.244 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009481/0.4154, allocations: 1.016 MB / 1.245 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4154, allocations: 0 / 1.245 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/0.4161, allocations: 167.8 kB / 1.245 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/0.4165, allocations: 80.72 kB / 1.245 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.4166, allocations: 31.97 kB / 1.245 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.4182, allocations: 1.666 MB / 1.247 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4182, allocations: 0 / 1.247 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.4201, allocations: 1.045 MB / 1.248 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.4205, allocations: 291.6 kB / 1.248 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.4206, allocations: 27.94 kB / 1.248 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.4213, allocations: 71.92 kB / 1.248 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.4214, allocations: 80.89 kB / 1.248 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.4215, allocations: 35.97 kB / 1.248 GB, free: 88 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.3698/0.7913, allocations: 500 kB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.72e-07/0.7914, allocations: 0 / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001179/0.7925, allocations: 370.4 kB / 1.249 GB, free: 185.9 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.003392/0.7959, allocations: 2.114 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00254/0.7985, allocations: 1.133 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7985, allocations: 1 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009206/0.7994, allocations: 0.5724 MB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.8005, allocations: 318 kB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00837/0.8089, allocations: 7.113 MB / 1.26 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.8093, allocations: 1.078 MB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007606/0.8101, allocations: 296.6 kB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.8105, allocations: 443 kB / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.8105, allocations: 0 / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.8559, allocations: 23.82 MB / 1.285 GB, free: 175 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/11.12, allocations: 10.14 kB / 1.285 GB, free: 175 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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