Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.006667/0.006667, allocations: 98.7 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.001668/0.001668, allocations: 196 kB / 16.68 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.545/2.545, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 63.89 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7431/0.7456, allocations: 159.1 MB / 1.22 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006655/0.7523, allocations: 4.975 MB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1532/0.9055, allocations: 150.8 MB / 1.372 GB, free: 5.934 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008033/0.9063, allocations: 19.88 kB / 1.372 GB, free: 5.914 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007436/0.9071, allocations: 194.2 kB / 1.372 GB, free: 5.723 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.9091, allocations: 0.5742 MB / 1.373 GB, free: 5.148 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.9113, allocations: 0.8519 MB / 1.373 GB, free: 4.305 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.9132, allocations: 1.46 MB / 1.375 GB, free: 2.84 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.9142, allocations: 0.5936 MB / 1.375 GB, free: 2.223 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007928/0.915, allocations: 0.5138 MB / 1.376 GB, free: 1.707 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.9156, allocations: 0.5329 MB / 1.376 GB, free: 1.172 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.9158, allocations: 120 kB / 1.377 GB, free: 1.055 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008225/0.9166, allocations: 499.6 kB / 1.377 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.9169, allocations: 311 kB / 1.377 GB, free: 268 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005229/0.9174, allocations: 0.5829 MB / 1.378 GB, free: 15.68 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.9193, allocations: 1.694 MB / 1.38 GB, free: 13.98 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9193, allocations: 0 / 1.38 GB, free: 13.98 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.193e-06/0.9193, allocations: 0 / 1.38 GB, free: 13.98 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.9193, allocations: 3.938 kB / 1.38 GB, free: 13.97 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002642/0.922, allocations: 1.524 MB / 1.381 GB, free: 12.39 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.922, allocations: 8.625 kB / 1.381 GB, free: 12.39 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.9222, allocations: 143.7 kB / 1.381 GB, free: 12.24 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.9231, allocations: 192 kB / 1.381 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.9243, allocations: 0.794 MB / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.9244, allocations: 65.98 kB / 1.382 GB, free: 11.15 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.9245, allocations: 92 kB / 1.382 GB, free: 11.06 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.9261, allocations: 0.969 MB / 1.383 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.9262, allocations: 0 / 1.383 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.968e-05/0.9263, allocations: 40 kB / 1.383 GB, free: 10.01 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.9263, allocations: 20 kB / 1.383 GB, free: 9.992 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.9281, allocations: 1.155 MB / 1.384 GB, free: 8.836 MB / 1.107 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.004147/0.9322, allocations: 2.861 MB / 1.387 GB, free: 5.859 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.9338, allocations: 0.8472 MB / 1.388 GB, free: 5.008 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.9344, allocations: 326.7 kB / 1.388 GB, free: 4.684 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.52e-05/0.9345, allocations: 32.67 kB / 1.388 GB, free: 4.652 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009137/0.9354, allocations: 0.537 MB / 1.389 GB, free: 4.102 MB / 1.107 GB Notification: Performance of pre-optimization done (n=88): time 2.645e-06/0.9354, allocations: 0 / 1.389 GB, free: 4.102 MB / 1.107 GB Notification: Performance of matching and sorting (n=88): time 0.003423/0.9388, allocations: 1.302 MB / 1.39 GB, free: 2.773 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.9389, allocations: 200.9 kB / 1.39 GB, free: 2.535 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008247/0.9398, allocations: 0.6451 MB / 1.391 GB, free: 1.879 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/0.9399, allocations: 45.7 kB / 1.391 GB, free: 1.828 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.9402, allocations: 413.1 kB / 1.391 GB, free: 1.418 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.9404, allocations: 301.4 kB / 1.392 GB, free: 1.121 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.9406, allocations: 158.6 kB / 1.392 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9408, allocations: 390.7 kB / 1.392 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/0.9413, allocations: 273.9 kB / 1.393 GB, free: 308 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/0.942, allocations: 386.5 kB / 1.393 GB, free: 15.9 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.9432, allocations: 0.6359 MB / 1.394 GB, free: 15.25 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9432, allocations: 0 / 1.394 GB, free: 15.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001991/0.9452, allocations: 0.8765 MB / 1.394 GB, free: 14.36 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.9452, allocations: 7.984 kB / 1.394 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9452, allocations: 0 / 1.394 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.9458, allocations: 76.84 kB / 1.394 GB, free: 14.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.9465, allocations: 167.8 kB / 1.395 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.9485, allocations: 1.641 MB / 1.396 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/0.9493, allocations: 103.4 kB / 1.396 GB, free: 12.22 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.9494, allocations: 39.97 kB / 1.396 GB, free: 12.18 MB / 1.123 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,decAng.tNext,$PRE.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 (97): * Single equations (assignments): 96 * 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.0004077/0.9498, allocations: 257.7 kB / 1.397 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.95, allocations: 95.42 kB / 1.397 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.9525, allocations: 1.16 MB / 1.398 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.9525, allocations: 12 kB / 1.398 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9525, allocations: 8 kB / 1.398 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.9526, allocations: 3.984 kB / 1.398 GB, free: 10.63 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.9536, allocations: 0.9464 MB / 1.399 GB, free: 9.637 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9536, allocations: 0 / 1.399 GB, free: 9.637 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/0.9542, allocations: 163.7 kB / 1.399 GB, free: 9.477 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.9547, allocations: 76.72 kB / 1.399 GB, free: 9.398 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.9548, allocations: 31.97 kB / 1.399 GB, free: 9.367 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.9566, allocations: 1.646 MB / 1.401 GB, free: 7.574 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9566, allocations: 0 / 1.401 GB, free: 7.574 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.9586, allocations: 1.006 MB / 1.402 GB, free: 6.547 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.959, allocations: 284.1 kB / 1.402 GB, free: 6.25 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.9592, allocations: 31.92 kB / 1.402 GB, free: 6.219 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007025/0.9599, allocations: 67.92 kB / 1.402 GB, free: 6.152 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.96, allocations: 76.89 kB / 1.402 GB, free: 6.074 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-05/0.9601, allocations: 31.98 kB / 1.402 GB, free: 6.043 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005617/0.9607, allocations: 483 kB / 1.403 GB, free: 5.574 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9607, allocations: 0 / 1.403 GB, free: 5.574 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007987/0.9615, allocations: 343.1 kB / 1.403 GB, free: 5.238 MB / 1.123 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (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 (100): * Single equations (assignments): 93 * 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.003508/0.965, allocations: 2.064 MB / 1.405 GB, free: 3.328 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.9667, allocations: 0.8546 MB / 1.406 GB, free: 2.461 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.9668, allocations: 4.188 kB / 1.406 GB, free: 2.457 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009755/0.9677, allocations: 0.5509 MB / 1.406 GB, free: 1.898 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.969, allocations: 314.4 kB / 1.407 GB, free: 1.609 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.9792, allocations: 6.539 MB / 1.413 GB, free: 10.91 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.9798, allocations: 1.032 MB / 1.414 GB, free: 9.852 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008346/0.9806, allocations: 279.1 kB / 1.414 GB, free: 9.574 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.9812, allocations: 407.3 kB / 1.415 GB, free: 9.176 MB / 1.139 GB Notification: Performance of SimCode: time 6.02e-07/0.9812, allocations: 0 / 1.415 GB, free: 9.176 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04734/1.029, allocations: 22.73 MB / 1.437 GB, free: 2.789 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.53, allocations: 13.05 kB / 1.437 GB, free: 2.785 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_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_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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,incAng.incAng Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,incAng.incAng,solHouAng.solHouAng