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.001186/0.001186, allocations: 108 kB / 15.61 MB, free: 152 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.001178/0.001178, allocations: 197.7 kB / 16.53 MB, free: 6.66 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.081/2.081, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 55.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4987, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00459/0.5034, allocations: 4.615 MB / 0.9542 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1339/0.6373, allocations: 150.7 MB / 1.101 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.6383, allocations: 19.88 kB / 1.101 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.6391, allocations: 182.3 kB / 1.102 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.6415, allocations: 0.538 MB / 1.102 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.6437, allocations: 0.8701 MB / 1.103 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001608/0.6453, allocations: 1.429 MB / 1.104 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009788/0.6463, allocations: 0.7144 MB / 1.105 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006912/0.647, allocations: 0.545 MB / 1.106 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000678/0.6477, allocations: 0.5679 MB / 1.106 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.648, allocations: 136 kB / 1.106 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008671/0.6489, allocations: 499.6 kB / 1.107 GB, free: 432 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.6492, allocations: 342.9 kB / 1.107 GB, free: 88 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005929/0.6498, allocations: 0.6258 MB / 1.108 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.6515, allocations: 1.776 MB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6516, allocations: 0 / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6516, allocations: 0 / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.619e-05/0.6516, allocations: 4 kB / 1.109 GB, free: 13.67 MB / 0.8731 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.002698/0.6543, allocations: 1.562 MB / 1.111 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.6544, allocations: 8.031 kB / 1.111 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.6545, allocations: 160.5 kB / 1.111 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/0.6554, allocations: 203.2 kB / 1.111 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009828/0.6564, allocations: 0.7933 MB / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/0.6565, allocations: 82.02 kB / 1.112 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.6566, allocations: 92 kB / 1.112 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.6582, allocations: 1.063 MB / 1.113 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.6582, allocations: 4 kB / 1.113 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.6583, allocations: 44 kB / 1.113 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.6583, allocations: 24 kB / 1.113 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.6601, allocations: 1.225 MB / 1.115 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/0.664, allocations: 2.925 MB / 1.117 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.6655, allocations: 0.8975 MB / 1.118 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.666, allocations: 339.7 kB / 1.119 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-05/0.6661, allocations: 41 kB / 1.119 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008535/0.667, allocations: 0.5436 MB / 1.119 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 2.304e-06/0.667, allocations: 0 / 1.119 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.003006/0.67, allocations: 1.341 MB / 1.12 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.6701, allocations: 192.9 kB / 1.121 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000701/0.6708, allocations: 0.6803 MB / 1.121 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.6708, allocations: 41.7 kB / 1.121 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.6711, allocations: 448.3 kB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.6713, allocations: 295.7 kB / 1.122 GB, free: 348 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.6715, allocations: 170.5 kB / 1.122 GB, free: 172 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6717, allocations: 390.7 kB / 1.123 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.6722, allocations: 285.8 kB / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.6728, allocations: 406.5 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.6739, allocations: 0.6633 MB / 1.124 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6739, allocations: 0 / 1.124 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001873/0.6758, allocations: 0.8995 MB / 1.125 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6758, allocations: 10.12 kB / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6759, allocations: 0 / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.6764, allocations: 84.83 kB / 1.125 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/0.6771, allocations: 175.8 kB / 1.125 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.6789, allocations: 1.63 MB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.6795, allocations: 103.2 kB / 1.127 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.6796, allocations: 35.97 kB / 1.127 GB, free: 11.31 MB / 0.8887 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.0003483/0.68, allocations: 279.6 kB / 1.127 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.6801, allocations: 94.86 kB / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.6826, allocations: 1.23 MB / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.6827, allocations: 15.98 kB / 1.128 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.6827, allocations: 3.938 kB / 1.128 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6827, allocations: 3.984 kB / 1.128 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.6836, allocations: 1.009 MB / 1.129 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6836, allocations: 0 / 1.129 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.6843, allocations: 171.7 kB / 1.13 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004223/0.6847, allocations: 80.78 kB / 1.13 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/0.6848, allocations: 27.97 kB / 1.13 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.6865, allocations: 1.658 MB / 1.131 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6865, allocations: 0 / 1.131 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.6885, allocations: 1.049 MB / 1.132 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.6888, allocations: 291.6 kB / 1.133 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.689, allocations: 35.78 kB / 1.133 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/0.6896, allocations: 67.92 kB / 1.133 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.6898, allocations: 84.88 kB / 1.133 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-05/0.6898, allocations: 31.98 kB / 1.133 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005658/0.6904, allocations: 0.4951 MB / 1.133 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6904, allocations: 0 / 1.133 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000751/0.6912, allocations: 347.2 kB / 1.134 GB, free: 4.102 MB / 0.8887 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.003339/0.6945, allocations: 2.127 MB / 1.136 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.6969, allocations: 1.132 MB / 1.137 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6969, allocations: 0 / 1.137 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008911/0.6978, allocations: 0.5668 MB / 1.137 GB, free: 416 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.6989, allocations: 312.5 kB / 1.138 GB, free: 120 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.7095, allocations: 7.189 MB / 1.145 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.71, allocations: 1.071 MB / 1.146 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007936/0.7108, allocations: 287.3 kB / 1.146 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/0.7114, allocations: 439.2 kB / 1.146 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.7114, allocations: 0 / 1.146 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/0.7565, allocations: 23.28 MB / 1.169 GB, free: 16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11.07, allocations: 4.438 kB / 1.169 GB, free: 15.99 MB / 0.9356 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