Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_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.008294/0.008294, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002105/0.002105, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.492/2.492, 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 10.1.1-maint.10.0.x/package.mo): time 4.771/4.771, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003233/0.003233, allocations: 64.14 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351/1.354, allocations: 151.6 MB / 1.166 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.01231/1.366, allocations: 4.998 MB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.322/1.689, allocations: 150.8 MB / 1.318 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/1.691, allocations: 23.88 kB / 1.318 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/1.692, allocations: 186.2 kB / 1.318 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004195/1.696, allocations: 0.5828 MB / 1.319 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004469/1.701, allocations: 0.8419 MB / 1.32 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00402/1.705, allocations: 1.452 MB / 1.321 GB, free: 4.406 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/1.707, allocations: 0.5958 MB / 1.322 GB, free: 3.785 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/1.708, allocations: 0.5022 MB / 1.322 GB, free: 3.281 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/1.71, allocations: 0.5329 MB / 1.323 GB, free: 2.746 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005637/1.711, allocations: 120 kB / 1.323 GB, free: 2.629 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/1.713, allocations: 495.5 kB / 1.323 GB, free: 2.145 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007541/1.714, allocations: 307 kB / 1.324 GB, free: 1.844 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001749/1.715, allocations: 0.583 MB / 1.324 GB, free: 1.258 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005371/1.721, allocations: 1.695 MB / 1.326 GB, free: 15.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.721, allocations: 0 / 1.326 GB, free: 15.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.745e-06/1.721, allocations: 0 / 1.326 GB, free: 15.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.595e-05/1.721, allocations: 0 / 1.326 GB, free: 15.56 MB / 1.061 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.006357/1.727, allocations: 1.524 MB / 1.327 GB, free: 13.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 8.239e-05/1.727, allocations: 8.922 kB / 1.327 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005584/1.728, allocations: 147.7 kB / 1.328 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/1.73, allocations: 192 kB / 1.328 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/1.733, allocations: 0.7902 MB / 1.329 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/1.733, allocations: 62 kB / 1.329 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/1.734, allocations: 84 kB / 1.329 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/1.737, allocations: 0.969 MB / 1.33 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/1.737, allocations: 4 kB / 1.33 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002053/1.737, allocations: 43.94 kB / 1.33 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/1.738, allocations: 20 kB / 1.33 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/1.741, allocations: 1.155 MB / 1.331 GB, free: 10.43 MB / 1.061 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.008863/1.75, allocations: 2.869 MB / 1.334 GB, free: 7.441 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/1.753, allocations: 0.8532 MB / 1.334 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/1.754, allocations: 326.6 kB / 1.335 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/1.754, allocations: 36.58 kB / 1.335 GB, free: 6.234 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/1.756, allocations: 0.5332 MB / 1.335 GB, free: 5.684 MB / 1.061 GB Notification: Performance of pre-optimization done (n=88): time 5.22e-06/1.756, allocations: 0 / 1.335 GB, free: 5.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=88): time 0.005746/1.762, allocations: 1.306 MB / 1.337 GB, free: 4.348 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/1.762, allocations: 196.9 kB / 1.337 GB, free: 4.113 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/1.764, allocations: 0.6451 MB / 1.337 GB, free: 3.457 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/1.764, allocations: 53.7 kB / 1.338 GB, free: 3.398 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005995/1.765, allocations: 409.1 kB / 1.338 GB, free: 2.992 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/1.765, allocations: 297.5 kB / 1.338 GB, free: 2.699 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/1.766, allocations: 170.5 kB / 1.338 GB, free: 2.527 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002944/1.766, allocations: 382.8 kB / 1.339 GB, free: 2.145 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009137/1.767, allocations: 269.9 kB / 1.339 GB, free: 1.879 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.768, allocations: 390.5 kB / 1.339 GB, free: 1.473 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/1.77, allocations: 0.6399 MB / 1.34 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/1.77, allocations: 0 / 1.34 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003346/1.773, allocations: 0.8765 MB / 1.341 GB, free: 15.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/1.773, allocations: 7.984 kB / 1.341 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.773, allocations: 0 / 1.341 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008085/1.774, allocations: 76.84 kB / 1.341 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.775, allocations: 171.8 kB / 1.341 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/1.779, allocations: 1.634 MB / 1.343 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.78, allocations: 99.44 kB / 1.343 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/1.78, allocations: 35.97 kB / 1.343 GB, free: 13.77 MB / 1.076 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.0009804/1.781, allocations: 266.3 kB / 1.343 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/1.782, allocations: 95.38 kB / 1.343 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004384/1.786, allocations: 1.164 MB / 1.344 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/1.786, allocations: 12 kB / 1.344 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.786, allocations: 0 / 1.344 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/1.786, allocations: 7.922 kB / 1.344 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/1.789, allocations: 0.9543 MB / 1.345 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.789, allocations: 4 kB / 1.345 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/1.79, allocations: 155.7 kB / 1.345 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006879/1.791, allocations: 80.72 kB / 1.345 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/1.791, allocations: 27.97 kB / 1.345 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003203/1.794, allocations: 1.651 MB / 1.347 GB, free: 9.141 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.794, allocations: 64 / 1.347 GB, free: 9.141 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004023/1.798, allocations: 1.006 MB / 1.348 GB, free: 8.109 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009111/1.799, allocations: 292.1 kB / 1.348 GB, free: 7.805 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/1.799, allocations: 23.94 kB / 1.348 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.8, allocations: 66.03 kB / 1.348 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002961/1.801, allocations: 76.89 kB / 1.349 GB, free: 7.645 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.801, allocations: 39.98 kB / 1.349 GB, free: 7.605 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00121/1.802, allocations: 479 kB / 1.349 GB, free: 7.141 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.31e-07/1.802, allocations: 0 / 1.349 GB, free: 7.141 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001846/1.804, allocations: 339.2 kB / 1.349 GB, free: 6.809 MB / 1.076 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.007155/1.811, allocations: 2.064 MB / 1.351 GB, free: 4.883 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003401/1.815, allocations: 0.8507 MB / 1.352 GB, free: 4.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.815, allocations: 4 kB / 1.352 GB, free: 4.016 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/1.817, allocations: 0.5511 MB / 1.353 GB, free: 3.453 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.819, allocations: 307.8 kB / 1.353 GB, free: 3.176 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1.84, allocations: 6.527 MB / 1.359 GB, free: 12.49 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.842, allocations: 1.036 MB / 1.36 GB, free: 11.43 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001764/1.843, allocations: 283.1 kB / 1.361 GB, free: 11.14 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.845, allocations: 411.3 kB / 1.361 GB, free: 10.74 MB / 1.092 GB Notification: Performance of SimCode: time 1.482e-06/1.845, allocations: 0 / 1.361 GB, free: 10.74 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.98, allocations: 22.72 MB / 1.383 GB, free: 4.277 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.01/27.99, allocations: 12.58 kB / 1.383 GB, free: 4.27 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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