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.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.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.0012/0.0012, 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.001129/0.001129, allocations: 193.6 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.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.43/2.43, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 62.88 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2319, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005748/0.2376, allocations: 4.974 MB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1319/0.3696, allocations: 150.8 MB / 1.216 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006923/0.3703, allocations: 23.88 kB / 1.216 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.3709, allocations: 202.1 kB / 1.216 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.3726, allocations: 0.5699 MB / 1.217 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.3743, allocations: 0.8463 MB / 1.217 GB, free: 500 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.3757, allocations: 1.44 MB / 1.219 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007696/0.3765, allocations: 0.591 MB / 1.219 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006019/0.3771, allocations: 0.5061 MB / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00059/0.3777, allocations: 0.5289 MB / 1.22 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.3779, allocations: 120 kB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007274/0.3786, allocations: 463.6 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.3789, allocations: 311 kB / 1.221 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004931/0.3794, allocations: 0.5907 MB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3808, allocations: 1.647 MB / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3808, allocations: 0 / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3809, allocations: 0 / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.3809, allocations: 0 / 1.223 GB, free: 10.27 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002219/0.3831, allocations: 1.481 MB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3831, allocations: 12.03 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.3833, allocations: 143.7 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008352/0.3841, allocations: 187.4 kB / 1.225 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008749/0.385, allocations: 0.7621 MB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.3851, allocations: 66 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-05/0.3852, allocations: 84 kB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3865, allocations: 0.969 MB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3866, allocations: 4 kB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/0.3867, allocations: 40 kB / 1.227 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.3867, allocations: 20 kB / 1.227 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.3883, allocations: 1.155 MB / 1.228 GB, free: 5.211 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.003596/0.3919, allocations: 2.892 MB / 1.231 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.3933, allocations: 0.8412 MB / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/0.3938, allocations: 330.6 kB / 1.232 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.949e-05/0.3939, allocations: 36.67 kB / 1.232 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008377/0.3948, allocations: 0.5276 MB / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 1.843e-06/0.3948, allocations: 0 / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003045/0.3978, allocations: 1.294 MB / 1.234 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.3979, allocations: 204.8 kB / 1.234 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.3986, allocations: 0.6528 MB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.3987, allocations: 45.7 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.3989, allocations: 408.4 kB / 1.235 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.3991, allocations: 283.8 kB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.3993, allocations: 166.5 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3995, allocations: 386.8 kB / 1.236 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.4, allocations: 269.9 kB / 1.236 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.4006, allocations: 390.5 kB / 1.237 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.4017, allocations: 0.6359 MB / 1.237 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4017, allocations: 0 / 1.237 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001813/0.4035, allocations: 0.8722 MB / 1.238 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4035, allocations: 11.98 kB / 1.238 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4035, allocations: 0 / 1.238 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.4041, allocations: 80.84 kB / 1.238 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.4047, allocations: 163.8 kB / 1.238 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.4066, allocations: 1.626 MB / 1.24 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006475/0.4072, allocations: 99.94 kB / 1.24 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.4073, allocations: 35.97 kB / 1.24 GB, free: 8.574 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,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.0003232/0.4076, allocations: 265.9 kB / 1.24 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.4078, allocations: 90.95 kB / 1.24 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.4101, allocations: 1.171 MB / 1.242 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.4102, allocations: 11.94 kB / 1.242 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4102, allocations: 4 kB / 1.242 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.4102, allocations: 3.984 kB / 1.242 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008892/0.4111, allocations: 0.9385 MB / 1.243 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4111, allocations: 0 / 1.243 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.4117, allocations: 163.7 kB / 1.243 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/0.4121, allocations: 76.72 kB / 1.243 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.4122, allocations: 27.97 kB / 1.243 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.4138, allocations: 1.654 MB / 1.244 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4138, allocations: 0 / 1.244 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4157, allocations: 0.9942 MB / 1.245 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.416, allocations: 291.5 kB / 1.246 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.4162, allocations: 31.94 kB / 1.246 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/0.4168, allocations: 67.86 kB / 1.246 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.4169, allocations: 76.89 kB / 1.246 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/0.417, allocations: 35.98 kB / 1.246 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00048/0.4175, allocations: 483 kB / 1.246 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4175, allocations: 4 kB / 1.246 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006886/0.4182, allocations: 327.2 kB / 1.247 GB, free: 1.633 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,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.4053/0.8235, allocations: 2.047 MB / 1.249 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002631/0.8262, allocations: 1.081 MB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.8262, allocations: 4.469 kB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.8271, allocations: 0.5441 MB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.8283, allocations: 313.2 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008707/0.837, allocations: 6.758 MB / 1.257 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.8374, allocations: 1.045 MB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007414/0.8381, allocations: 278.1 kB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.8385, allocations: 408.8 kB / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.8386, allocations: 0 / 1.259 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/0.8846, allocations: 22.5 MB / 1.281 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.12, allocations: 11.12 kB / 1.281 GB, free: 177.4 MB / 0.9981 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